Remove a workspace member
Remove a member from a workspace with DELETE /v2/workspaces/members, revoking their access to every shared application at once. Only the owner can.
DELETE
Remove a workspace member
string
required
The API key for your account. You can find this in your account settings.
workspaces:manage scope.
Removes a member from a workspace, immediately revoking their access to every application shared into it. Only the workspace owner can call this endpoint; a member who wants to remove themselves should use Leave Workspace instead.
Removing a member does not free up their invite code for reuse: generate a fresh one with Get Invite Code if they need to rejoin later. Rate limited to 5 removals per 30 seconds per user.
Parameters
string
required
The ID of the workspace.
string
required
The member ID.
Response
string
Indicates whether the call was successful:
success if it was, error if not.Common errors
Related
- CLI:
squarecloud workspace member remove - SDKs:
api.workspaces.members.remove()(JavaScript),client.workspaces.members.remove()(Python),c.Workspaces.Members.Remove()(Go)

