Skip to main content
DELETE
/
categories
Delete Category
curl --request DELETE \
  --url https://api.example.com/categories \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123
}'
{
  "success": "true"
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt

Use this file to discover all available pages before exploring further.

Deletes an existing category from the system. This operation is permanent and cannot be undone.

Authentication

Requires admin authentication via Bearer token.

Body Parameters

id
number
required
The unique identifier of the category to delete
curl -X DELETE https://api.falconalert.com/categories \
  -H "Authorization: Bearer YOUR_ADMIN_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 1
  }'

Response

success
string
Indicates whether the deletion was successful
{
  "success": "true"
}