Create a new environment object
Create an environment object for a Deployment or Workspace. An environment object represents a connection, environment variable, Airflow variable, or metrics export resource that is managed by the Astro Environment Manager.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the Organization in which to create the environment object.
Body
The request body for creating a new environment object.
The key for the environment object
The type of environment object
CONNECTION, ENVIRONMENT_VARIABLE, AIRFLOW_VARIABLE, METRICS_EXPORT The scope of the environment object
WORKSPACE, DEPLOYMENT The ID of the scope entity where the environment object is created
Whether or not to automatically link Deployments to the environment object. Only applicable for WORKSPACE scope
The description of the environment object
500The links to exclude from the environment object. Only applicable for WORKSPACE scope
The Deployments that Astro links to the environment object. Only applicable for WORKSPACE scope
Response
OK
The ID of the environment object