- 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/iam/v1beta1/organizations/organizationId/users/userId/roles \ > -H "Authorization: Bearer " \ > -H "Content-Type: application/json" \ > -d '{ > "deploymentRoles": [ > { > "deploymentId": "clm8t5u4q000008jq4qoc3031", > "role": "DEPLOYMENT_ADMIN" > } > ], > "organizationRole": "ORGANIZATION_MEMBER", > "workspaceRoles": [ > { > "role": "WORKSPACE_MEMBER", > "workspaceId": "clm8t5u4q000008jq4qoc3036" > } > ] > }'
Response