POST
/
api
/
v2
/
rules
/
delete
Delete custom rule
curl --request POST \
  --url https://zeropath.com/api/v2/rules/delete \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "ruleId": "<string>"
}'
{
  "success": true
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
ruleId
string
required
organizationId
string

Response

Successful response

success
boolean