Skip to navigation

Remove a member

Preview

Removes a member from a workspace or project, or cancels a pending invitation. Specify either workspaceId or projectId.

Workspace

Removes a member from the workspace and all projects within it.

A workspace owner can remove any member. A workspace admin can remove members who hold the Member, Viewer, or Guest role.

Project

Removes a member from the project. CAD ROOMS records a member.removed entry in the project’s activity.

Pending invitation

Cancels the invitation, including any associated file shares.

The request returns 404 if the invitation is no longer pending. The user who originally sent the invitation can also cancel it.

Required permission: Workspace owner or admin for a workspace. Admin in the project for a project.

Authentication

AuthorizationBearer
An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
OR
AuthorizationBearer
The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

Path parameters

memberIdstringRequired

The userId of a member, or the inviteId of a pending invite.

Query parameters

workspaceIdstringOptional

The workspace of the member. Send either this or projectId.

projectIdstringOptional

The project of the member. Send either this or workspaceId.

Response

The member was removed, or the invite was cancelled.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error