Skip to main content
DELETE /api/v1/projects/{project_id}/rules/{id} Requires rules.delete permission.

Path parameters

project_id
string
required
UUID of the project.
id
string
required
UUID of the rule to delete.

Response

deleted
boolean
required
Always true on success.

Errors

StatusWhen
403Caller lacks rules.delete permission
404Rule not found

Example

curl -X DELETE http://localhost:8080/api/v1/projects/550e8400-e29b-41d4-a716-446655440000/rules/r1a2b3c4-d5e6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer <token>"
{
  "deleted": true
}

Build docs developers (and LLMs) love