public deleteAction ( integer $ruleId ) : Scalr\Api\DataType\ResultEnvelope | ||
$ruleId | integer | Numeric identifier of the rule |
Результат | Scalr\Api\DataType\ResultEnvelope |
public function deleteAction($ruleId)
{
$rule = $this->getRule($ruleId, true);
$rule->delete();
return $this->result(null);
}