v1

latestOpenAPI 3.1.02026-07-22106199311.5 KB
Environments

Create a new environment

An endpoint for creating a new environment

post/v1/projects/{projectId}/environments

Path parameters

projectIdstring uuid required

Request body

defaultAgentIdstring required

The UUID of the default agent for this environment

defaultConnectionsobject required

The default connections for the new environment

defaultUserAccessLevelstring required

The default role project users will have on the environment

descriptionstring

The description of the new environment

displayNamestring

The display name of the new environment

inheritProjectDefaultsboolean

Determines whether the environment inherits the project's default settings

namestring required

The name of the new environment

Example request

{
  "defaultUserAccessLevel": "default",
  "description": "My new Environment",
  "displayName": "Environment 1",
  "name": "Environment-1"
}

Response

Environment configuration remains unchanged since last update