Flags

Update a flag’s environment configuration

patch/api/v1/flags/{id}/environments/{environmentId}

Request

  • Base URL: https://api.atono.io
  • URL: https://api.atono.io/api/v1/flags/{id}/environments/{environmentId}
  • Auth: API key in header X-API-KEY

Path parameters

idstring required

The UUID or key of the feature flag. The key is the feature flag name shown in the Atono application.

environmentIdstring required

The UUID or name of the environment.

Request body

Example request

{
  "data": {
    "attributes": {
      "configuration": "on"
    }
  }
}

Response

Successfully updated the configuration of the feature flag in the specified environment.

metaunknown
linksunknown

Example response

{
  "data": {
    "attributes": {
      "configuration": "on"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.