Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Pass your API key as the Bearer token. See Authentication.

Path Parameters

id
string
required

The id of the requested resource

Body

application/json
description
string

Put context here, not in the name.

toggleOnList
boolean

Show on feature list page

defaultState
boolean

Default state for new features

projects
string[]

Limits which Projects can use this environment. Omit to keep the current list; send [] to allow all Projects.

isProduction
boolean

Whether this is a production environment

Response

Resource updated

environment
object
required