Skip to main content
DELETE /api/v1/projects/{project_id}/flags/{id} Requires flags.delete permission. Deletion cascades to all rules attached to the flag.

Path parameters

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

Response

deleted
boolean
required
Always true on success.

Errors

StatusWhen
403Caller lacks flags.delete permission
404Flag not found

Example

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

Build docs developers (and LLMs) love