Environments API
The Environments API lets you manage environments within a project programmatically.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/environments | List all environments in a project |
POST | /api/environments | Create a new environment |
GET | /api/environments/:id | Get an environment by ID |
PUT | /api/environments/:id | Update an environment |
DELETE | /api/environments/:id | Delete 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.