latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Environment

Branch an environment

Create a new environment as a branch of the current environment.

post/projects/{projectId}/environments/{environmentId}/branch

Path parameters

projectIdstring required
environmentIdstring required

Request body

titlestring required
namestring required
clone_parentboolean required

Clone data from the parent environment

type'development' | 'staging' required

The type of environment (staging or development)

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response