Skip to content

Delete a feature-flag

DELETE
/feature-flags/{id}
id
required
string

DocumentId

Deleted

object
data
object
key
required

Unique identifier used in code, e.g. ‘new-billing-ui’ or ‘graphql-enabled’.

string
description
string
rollout_pct

Percentage of organisations that see this flag (0–100). Assigned deterministically via DJB2 hash of org documentId.

integer
enabled_plans

Array of plan names that always see this flag, e.g. [“enterprise”, “pro”].

enabled_orgs

Array of organisation documentIds that are explicitly whitelisted.

is_enabled

Master switch. When false the flag evaluates to false for all orgs regardless of other settings.

boolean
expires_at

Optional expiry. After this timestamp the flag evaluates to false automatically.

string format: date-time
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found