Deleting an alert rule
POST https://{{base_url}}/v6/alert-rules/{{ruleId}}/delete.json
Deleting an alert rule
Deletes an alert rule in your account. In order to delete an alert rule, the user attempting the creation must be in a role that has the Edit alert rules permission, as well as Edit Tests permission, in the event that the alert rule is assigned to any tests. Users without appropriate permissions will receive an error.
Optional (Querystring) Parameters
- aid={aid} optional and requires the user to be assigned to the target account group, specifies the account group context of the request, obtained from the /account-groups endpoint. Specifying this parameter without the user being assigned to the target account will result in an error response. See Account group context for more information
Request
- {ruleId} corresponds to a ruleId returned by the /alert-rules endpoint.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |