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_*).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” name
required
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
value
required
boolean
Example
{ "value": true}Responses
Section titled “ Responses ”Set the flag through the Settings API instead.