Skip to main content
DELETE
/
api
/
custom-rules
/
{rule_id}
Delete Custom Rule
curl --request DELETE \
  --url https://api.example.com/api/custom-rules/{rule_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Key
string | null

Path Parameters

rule_id
integer
required

Cookies

antidote_session
string | null

Response

Successful Response