Update an environment object

Update an existing Deployment level or Workspace level environment object.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

organizationIdstringRequired
The ID of the Organization to which the environment object belongs.
environmentObjectIdstringRequired
The environment object's ID.

Request

This endpoint expects an object.
airflowVariableobjectOptional
autoLinkDeploymentsbooleanOptional
Whether or not to automatically link Deployments to the environment object. Only applicable for WORKSPACE scope
connectionobjectOptional
metricsExportobjectOptional

Response

OK
objectKeystring
The key for the environment object
objectTypeenum
The type of environment object
scopeenum
The scope of the environment object
scopeEntityIdstring
The ID of the scope entity where the environment object is created
airflowVariableobject
autoLinkDeploymentsboolean
Whether or not to automatically link Deployments to the environment object
connectionobject
createdAtstring

The time when the environment object was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ

createdByobject
idstring
The ID of the environment object
metricsExportobject
sourceScopeenum
The source scope of the environment object, if it is resolved from a link
sourceScopeEntityIdstring
The source scope entity ID of the environment object, if it is resolved from a link
updatedAtstring

The time when the environment object was updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ

updatedByobject

Errors

401
Update Environment Object Body Unauthorized Error
403
Update Environment Object Body Forbidden Error
404
Update Environment Object Body Not Found Error
405
Update Environment Object Body Method Not Allowed Error
409
Update Environment Object Body Conflict Error
500
Update Environment Object Body Internal Server Error