Remove Workspace User
Kick a member out of a workspace. If the removed user has no remaining workspaces, a personal workspace will be automatically created.Authentication & Scope
Requires theworkspace-users-write
ability and admin privileges in the workspace.
Request
Path Parameters
Parameter | Type | Description |
---|---|---|
workspaceId | number | ID of the workspace. |
userId | number | ID of the user to remove. |
Response
200 OK
– Confirmation message.
403 Forbidden
– Token lacks workspace-users-write
or insufficient privileges.Authorizations
Personal Access Token
Response
User removed
Example:
"User removed from workspace successfully."