Sets the flag and records who changed it; the node that served the request applies it at once and other nodes within about 45 seconds. Sending the current value changes nothing. Returns 404 for a key this build does not define, including an ORPHANED one. Super admin only.
PATCH
/admin/feature-flags/{key}
curl \
--request PATCH 'http://api.example.com/admin/feature-flags/{key}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"enabled": true
}'
Request examples
{
"enabled": true
}
Response examples (200)
{
"data": {
"key": "clio-integration",
"enabled": true,
"description": "Turns on the Clio integration",
"status": "SEEDED",
"updatedAt": "2026-01-15T10:15:00.000Z",
"updatedByEmail": "admin@example.com"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}