This endpoint requires Connection Admin permissions for the connection.
Updates an existing dbt environment on the specified connection. All fields are optional; only the provided fields will be updated.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The unique identifier of the connection
The unique identifier of the dbt environment
The name of the dbt environment
1"Development"
The target schema for the environment
1"dev_schema"
Only valid with Organization API keys. The user ID of the owner for the dbt environment. Personal Access Tokens (PATs) automatically use the authenticated user as the owner.
"550e8400-e29b-41d4-a716-446655440000"
Target database override
"analytics_dev"
Target name override
"custom_target"
Target role override
"developer"
Environment variables for the dbt environment. To update existing variables, include the variable id field. New variables should omit the id field.
dbt environment updated successfully
Unique identifier of the dbt environment
The name of the dbt environment
Whether this is the default environment
The user ID of the owner of the dbt environment, or null
Target database override
Target name override
Target role override
Target schema for the environment
Environment variables