Skip to main content
POST
/
api
/
v1
/
rules
/
batchUndelete
BatchUndeleteRules
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/rules/batchUndelete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ruleIds": [
    "<string>"
  ],
  "clientKeys": [
    "<string>"
  ]
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

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.

ruleIds
string[]
clientKeys
string[]

Response

A successful response.

The response is of type object.