API DocsRESTRule service

DeleteRule

Deletes a rule.

POST
/api/v1/rules/delete

Request Body

application/jsonRequired

DeleteRuleRequest is used to delete a rule by rule_id or client_key. If both are provided, only rule_id will be used.

ruleIdstring

clientKeystring

curl -X POST "<API_URL>/api/v1/rules/delete" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "ruleId": "string",
    "clientKey": "string"
  }'

A successful response.

{}