Environments
Create Environment
Creates a new environment and seeds initial flag versions for all existing flags.
POST
When a new environment is created, a disabled
v1 config is automatically created for every existing flag in the project.
Environment deletion is not yet available via the API. A future DELETE /projects/{projectId}/environments/{envId}?force=true endpoint is planned — it will require the environment to have zero active flags before proceeding. Until then, contact support to delete an environment.
Path parameters
Body
Display name.
Must match
^[a-z0-9-]+$. Unique within the project.Hex color for the dashboard UI, e.g.
#6366f1. Defaults to #6366f1.