API DocsRESTRule service

UndeleteRule

Undeletes a rule.

POST
/api/v1/rules/undelete

Request Body

application/jsonRequired

UndeleteRuleRequest is used to undelete 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/undelete" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "ruleId": "string",
    "clientKey": "string"
  }'

A successful response.

{}