Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
id
string
required

Permanent ID, shown as the environment name (e.g. production). Short lowercase slug.

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 allow all Projects.

parent
string

An environment that the new environment should inherit feature rules from. Requires an enterprise license

Response

Resource created

environment
object
required