Update Team roles
Update Organization and Workspace roles for a Team.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Path parameters
organizationId
The ID of the Organization to which the Team belongs.
teamId
The ID of the Team to update roles for.
Request
The request body for updating the Team's roles
organizationRole
The Team's Organization roles.
Allowed values:
deploymentRoles
The user's updated Deployment roles. The Deployments you specify must belong to the Team's Organization.
workspaceRoles
The Team's updated Workspace roles. The Workspaces you specify must belong to the Team's Organization.
Response
OK
deploymentRoles
A list of the subject's Deployment roles. Currently only for API tokens.
organizationRole
The subject's Organization role.
Allowed values:
workspaceRoles
A list of the subject's Workspace roles.