Skip to content

Upsert a policy feature flag (moved to the Settings API).

PUT
/api/policy/flags/{name}
Code sample: Shell / cURL
curl --request PUT \
--url https://auth.example.com/api/policy/flags/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "value": true }'

Policy feature flags are set through the Settings API (feature.enable_*).

name
required
string
Media type application/json
object
value
required
boolean
Example
{
"value": true
}

Set the flag through the Settings API instead.