environment
Retrieve custom environments
Retrieve custom environments for the project. Must not be named ‘Production’ or ‘Preview’.
GET
get_/v9/projects/{idOrName}/custom-environments
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
Query Parameters
Fetch custom environments for a specific git branch
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"
Response
200
application/json
The response is of type object
.
get_/v9/projects/{idOrName}/custom-environments