Change a member's role
Changes a member’s role in a workspace or project. Specify either workspaceId or projectId.
The request fails if the member already has the specified role. The role associated with a pending invitation cannot be changed.
Workspace
A workspace owner can change any member’s role to any workspace role. A workspace admin can only change the roles of members who currently hold the Member, Viewer, or Guest role, and can only grant those roles.
Members whose roles are changed to Owner or Admin are also assigned the Admin role in every project within the workspace.
Members whose roles are changed from Owner or Admin to Member or Viewer lose that project-level Admin role.
Project
CAD ROOMS records a member.role_changed entry in the project’s activity.
Required permission: Workspace owner or admin for a workspace. Admin in the project for a project.
Authentication
Path parameters
The userId of a member, or the inviteId of a pending invite.
Query parameters
The workspace of the member. Send either this or projectId.
The project of the member. Send either this or workspaceId.
Request
Name of a role. A workspace accepts owner, admin, member, viewer and guest. A project accepts admin, collaborator and viewer.
Response headers
Request-Id. Unique identifier for the request. Every response, success or error, returns it. Error bodies carry the same value in requestId. Include it when contacting CAD ROOMS support.