Update a user's roles

Update Organization and Workspace roles for a user.

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 user belongs.
userIdstringRequired
The user's ID

Request

The request body for updating the user's roles
dagRoleslist of objectsOptional
The user's updated DAG roles.
deploymentRoleslist of objectsOptional

The user’s updated Deployment roles. Requires also specifying an OrganizationRole.

organizationRolestringOptional
The user's updated Organization role.
workspaceRoleslist of objectsOptional

The user’s updated Workspace roles. Requires also specifying an OrganizationRole.

Response

The response body containing the user's roles
dagRoleslist of objects or null
A list of the subject's DAG roles.
deploymentRoleslist of objects or null
A list of the subject's Deployment roles. Currently only for API tokens.
organizationRolestring or null
The subject's Organization role.
workspaceRoleslist of objects or null
A list of the subject's Workspace roles.

Errors