The Flag Configurations API allows you to manage per-environment flag settings, including default values, targeting conditions, and rollout configurations.
Update flag configuration
Updates the complete configuration for a flag in a specific environment.
Request
Path parameters
| Parameter | Type | Description |
|---|---|---|
|
string |
Required. The application ID |
|
string |
Required. The flag ID |
|
string |
Required. The environment ID |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
|
boolean |
No |
Whether the flag is enabled in this environment |
|
any |
No |
Default value when no conditions match |
|
array |
No |
Array of targeting conditions (evaluated in order) |
|
string |
No |
Property for consistent percentage-based evaluation |
|
boolean |
No |
Whether multiple variants are enabled |