Users
Detach Workspaces from User
Removes workspace access from a user in COR
PUT
Detaches multiple workspaces from a specific user in your COR instance. This endpoint allows batch removal of workspace access from a user.
Prerequisites: Workspaces must be created first using the Create Workspace endpoint, and then attached to users using the Attach Workspace endpoint before they can be detached.
Response
The endpoint returns the complete user object with the remaining attached workspaces (after detachment). Each workspace includes apivot table with the relationship details (workspace_id, user_id, percentage).
Request Body Requirements
Array of workspace external IDs (strings) to detach from the user
Path Parameters
External user ID from your source system

