Update API token roles
Update Workspace and Organization roles for an API 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.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The request body for updating a token.
roles
The roles of the API token.
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.