Skip to main content
POST

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

projectId
string<uuid>
required

Body

application/json
connectionOverrides
object[]
required

Connection overrides for the environment. Each entry overrides the properties of a named connection for this environment. See the request examples for complete per-platform payloads.

Required array length: 1 - 200 elements
defaultAgentId
string
required

The UUID of the default agent for this environment. The ID must be supplied in lowercase

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
defaultConnections
object
required

The default connections for the new environment. Keys are connection types: DWH maps a warehouse provider (for example snowflake, redshift, databricks, bigquery) to the name of a connection defined in the project, and CLOUD_PLATFORM maps a cloud provider (for example aws, gcp, azure) to a connection name. See the request examples for complete payloads.

Example:
defaultUserAccessLevel
string
required

The default role project users will have on the environment

Examples:

"default"

"admin"

"runner"

"readOnly"

"noAccess"

name
string
required

The name of the new environment

Minimum string length: 1
Example:

"Environment-1"

description
string

The description of the new environment

Maximum string length: 1000
Example:

"My new Environment"

displayName
string

The display name of the new environment

Maximum string length: 255
Example:

"Environment 1"

inheritProjectDefaults
boolean

Determines whether the environment inherits the project's default settings

Response

Environment configuration remains unchanged since last update