- Platform API ReferenceOrganization
- Platform API ReferenceAlerts
- Platform API ReferenceOptions
- Platform API ReferenceCluster
- Platform API ReferenceDeployment
- Platform API ReferenceDeploy
- Platform API ReferenceEnvironment
- Platform API ReferenceNotification Channels
- Platform API ReferenceWorkspace
- IAM API ReferenceAuthorization
- IAM API ReferenceAllowed IP Address Range
- IAM API ReferenceInvite
- IAM API ReferenceRole
- IAM API ReferenceTeam
- IAM API ReferenceAPI Token
- IAM API ReferenceUser
Request
$ curl -X POST https://api.astronomer.io/platform/v1beta1/organizations/organizationId/environment-objects/environmentObjectId \ > -H "Authorization: Bearer " \ > -H "Content-Type: application/json" \ > -d '{ > "airflowVariable": { > "value": "value" > }, > "autoLinkDeployments": false, > "connection": { > "authTypeId": "authTypeId", > "extra": {}, > "host": "host", > "login": "login", > "password": "password", > "port": 0, > "schema": "schema", > "type": "type" > }, > "excludeLinks": [ > { > "scope": "DEPLOYMENT", > "scopeEntityId": "scopeEntityId" > } > ], > "links": [ > { > "overrides": { > "airflowVariable": { > "value": "value" > }, > "connection": { > "extra": {}, > "host": "host", > "login": "login", > "password": "password", > "port": 0, > "schema": "schema", > "type": "type" > }, > "metricsExport": { > "basicToken": "basicToken", > "endpoint": "endpoint", > "exporterType": "PROMETHEUS", > "headers": {}, > "labels": {}, > "password": "password", > "username": "username" > } > }, > "scope": "DEPLOYMENT", > "scopeEntityId": "scopeEntityId" > } > ], > "metricsExport": { > "basicToken": "basicToken", > "endpoint": "endpoint", > "exporterType": "PROMETHEUS", > "headers": {}, > "labels": {}, > "password": "password", > "username": "username" > } > }'
Response