Skip to main content

Environments API

The Environments API lets you manage environments within a project programmatically.

MethodEndpointDescription
GET/api/environmentsList all environments in a project
POST/api/environmentsCreate a new environment
GET/api/environments/:idGet an environment by ID
PUT/api/environments/:idUpdate an environment
DELETE/api/environments/:idDelete an environment

Environment objects include the environment name, key, SDK key, and color label. Deleting an environment also removes all flag configurations associated with it. All endpoints require a valid JWT token.

note

Full request/response schemas and examples are coming soon.