v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Environments

Create environment

post/api/v1/workspace/{workspaceId}/environments

Path parameters

workspaceIdstring required

The ID of the project to create the environment in.

Request body

namestring required

The name of the environment to create.

positionnumber

The position of the environment. The lowest number will be displayed as the first environment.

slugstring required

The slug of the environment to create.

Response

Default Response

messagestring required
workspacestring required