Feature Flags

Set a flag's value in one environment, and/or flip its kill switch.

put/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)
  • URL: /api/projects/{project_id}/flags/{key}/environments/{environment_id}
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

keystring required

Flag key

environment_idinteger required

Environment ID

Request body

enabledboolean nullable

The kill switch. false makes the flag serve its default regardless of any override — and, once targeting exists, regardless of any rule.

valueunknown

Response

Environment value set

enabledboolean required
environment_idinteger required
valueunknown

Changes

No recorded changes to this operation across all 50 revisions of this API.