Docs
Remove Rule
DELETE /rule-sets/{ruleSetId}/rules/{ruleId}
DELETE
/rule-sets/{ruleSetId}/rules/{ruleId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Deletes a rule with its thresholds and reset conditions.
Requires
EventSettings permission on the event.Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| ruleSetId | Guid | Required | The rule set. |
| ruleId | Guid | Required | The rule. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Rule set or rule not found. |