Update custom role
Update the metadata or included permissions for a custom role.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the Organization to which the role belongs.
The custom role's ID.
Body
The request body for updating the custom role.
The role's name.
"Deployment_Viewer"
The permissions included in the role.
1The role's description.
"Subject can only view deployments."
The IDs of the Workspaces that the role is restricted to.
Response
OK
The time the role was created.
"2022-11-22T04:37:12Z"
The role's ID.
"cluc9tapx000901qn2xrgqdmn"
The role's name.
"Deployment_Viewer"
The role's permissions.
The IDs of Workspaces that the role is restricted to.
The role's scope.
DEPLOYMENT, WORKSPACE, ORGANIZATION "DEPLOYMENT"
The time the role was last updated.
"2022-11-22T04:37:12Z"
The role's description.
"Subject can only view deployments."