Requires workspace-users-write
. Removes a specified user from the workspace.
Kick a member out of a workspace. If the removed user has no remaining workspaces, a personal workspace will be automatically created.
Requires the workspace-users-write
ability and admin privileges in the workspace.
Parameter | Type | Description |
---|---|---|
workspaceId | number | ID of the workspace. |
userId | number | ID of the user to remove. |
200 OK
– Confirmation message.
403 Forbidden
– Token lacks workspace-users-write
or insufficient privileges.
Personal Access Token
User removed
The response is of type object
.