Add an environment to a project.

This endpoint adds the provided environment to the specified project, with optional support for enabling and disabling change requests for the environment and project.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired

Request

projectEnvironmentSchema
environmentstringRequired
The environment to add to the project
changeRequestsEnabledbooleanOptional
Whether change requests should be enabled or for this environment on the project or not
defaultStrategyobjectOptional
A default strategy to create for this environment on the project.

Response

This response has no body.

Errors