curl -X DELETE "https://api.nonefivem.com/cloud/flags/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"message": "Feature flag deleted successfully"
}
Feature Flags
Delete Feature Flag
Permanently delete a feature flag
DELETE
/
flags
/
{flagId}
curl -X DELETE "https://api.nonefivem.com/cloud/flags/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"message": "Feature flag deleted successfully"
}
Permanently deletes a flag and republishes your configuration without it. The key becomes available for reuse.
Servers reading a deleted flag fall back rather than throwing, so deleting one can never crash a running server.
This cannot be undone. If you only want servers to stop seeing the flag, use
PATCH /flags/{flagId} with
"archived": true instead — the flag is kept and its key stays reserved.Authorization
string
required
Bearer token for authentication. Format:
Bearer <your-api-key>Required Permission
FLAGS_WRITE
Path Parameters
string
required
The flag’s UUID.
Response
string
Confirmation message.
Status Codes
| Status | Meaning |
|---|---|
200 | The flag was deleted |
400 | flagId is not a valid UUID |
401 | Invalid or missing API key |
403 | The key lacks FLAGS_WRITE |
404 | No such flag in this organization |
Deleting is deliberately allowed on a locked flag — removing one is how you
get back under your allowance without subscribing again.
curl -X DELETE "https://api.nonefivem.com/cloud/flags/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
{
"message": "Feature flag deleted successfully"
}

