Update API token roles
Update Workspace and Organization roles for an API token.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
organizationId
The ID of the Organization where you want to update an API token.
tokenId
The API token you want to update.
Request
This endpoint expects an object.
roles
The roles of the API token, including DAG roles.
Response
OK
dagRoles
A list of the subject's DAG roles.
deploymentRoles
A list of the subject's Deployment roles. Currently only for API tokens.
organizationRole
The subject's Organization role.
workspaceRoles
A list of the subject's Workspace roles.
Errors
400
Update API Token Roles Body Bad Request Error
401
Update API Token Roles Body Unauthorized Error
403
Update API Token Roles Body Forbidden Error
404
Update API Token Roles Body Not Found Error
500
Update API Token Roles Body Internal Server Error