Feature Flags
Set a flag's value in one environment, and/or flip its kill switch.
Changed onput/projects/{project_id}/flags/{key}/environments/{environment_id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
keystring required
Flag key
environment_idinteger required
Environment ID
Request body
Response
Environment value set
Example response
{
"rules": [
{
"conditions": [
{
"attribute": "plan"
}
]
}
]
}Changes
- info
added the required property
rulesto the response with the status - info
added the required property
rules_validto the response with the status - info
added the required property
updated_atto the response with the status
- info