Create an environment
Create an environment.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
The repository.
Request Bodyrequired
Section titled “Request Bodyrequired”The environment to create.
object
The UUID identifying the environment.
The name of the environment.
Examplegenerated
{ "type": "example", "uuid": "example", "name": "example"}Responses
Section titled “Responses”The environment was created.
object
The UUID identifying the environment.
The name of the environment.
Examplegenerated
{ "type": "example", "uuid": "example", "name": "example"}Headers
Section titled “Headers”The URL of the newly created environment.
The account or repository does not exist.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Examplegenerated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}An environment host with the provided name already exists.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Examplegenerated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}