v2

latestSwagger 2.02026-08-01331211921.0 KB
Deployments

Create an environment

Create an environment.

post/repositories/{workspace}/{repo_slug}/environments

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

Request body

typestring required
uuidstring

The UUID identifying the environment.

namestring

The name of the environment.

Response

The environment was created.

typestring required
uuidstring

The UUID identifying the environment.

namestring

The name of the environment.