Create
environments
Create
Create a custom environment. The slug is derived from the name when omitted; “production” and “preview” are reserved for the implicit environments.
POST
Create
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The organization's id (UUID) or slug — either form is accepted.
The project's id (UUID) or slug — either form is accepted.
Body
application/json
Response
Environment created.
Environment address — unique per project.
Pattern:
^[a-z][a-z0-9-]{0,38}$The implicit environments carry kind "production"/"preview"; customer-created ones are "custom".
Available options:
production, preview, custom