Skip to main content
POST
/
api
/
v1
/
rules
/
undelete
UndeleteRule
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/rules/undelete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ruleId": "<string>",
  "clientKey": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

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

ruleId
string
clientKey
string

Response

A successful response.

The response is of type object.