DELETE
/
actions
/
{id}
Delete an action
curl --request DELETE \
  --url https://moderationapi.com/api/v1/actions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "deleted": true,
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the action to delete.

Response

Action deleted successfully

deleted
boolean
required

Whether the action was deleted.

id
string
required

The ID of the action.