environment
Create a custom environment for the current project.
Creates a custom environment for the current project. Cannot be named ‘Production’ or ‘Preview’.
POST
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
Query Parameters
The Team identifier to perform the request on behalf of.
Example:
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
Example:
"my-team-url-slug"
Body
application/json
The slug of the custom environment to create.
Maximum length:
32
Description of the custom environment. This is optional.
Maximum length:
256
How we want to determine a matching branch. This is optional.
Where to copy environment variables from. This is optional.
Response
201
application/json
The response is of type object
.