API DocsRESTRule service

BatchUndeleteRules

Undeletes multiple rules.

POST
/api/v1/rules/batchUndelete

Request Body

application/jsonRequired

BatchUndeleteRulesRequest is used to delete a rule by rule_id or client_key. For each rule if both are provided, only rule_id will be used.

ruleIdsarray<string>

clientKeysarray<string>

curl -X POST "<API_URL>/api/v1/rules/batchUndelete" \
  -H "Authorization: Bearer <API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "ruleIds": [
      "string"
    ],
    "clientKeys": [
      "string"
    ]
  }'

A successful response.

{}