Update custom role
Update the metadata or included permissions for a custom role.
Path parameters
organizationId
The ID of the Organization to which the role belongs.
customRoleId
The custom role’s ID.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
The role’s name.
permissions
The permissions included in the role.
description
The role’s description.
restrictedWorkspaceIds
The IDs of the Workspaces that the role is restricted to.
Response
OK
createdAt
The time the role was created.
createdBy
id
The role’s ID.
name
The role’s name.
permissions
The role’s permissions.
restrictedWorkspaceIds
The IDs of Workspaces that the role is restricted to.
scopeType
The role’s scope.
Allowed values:
updatedAt
The time the role was last updated.
updatedBy
description
The role’s description.