Remove Member
remove_memberRemove a member from the workspace (the current one unless workspaceId names another) and revoke their API keys and connect links there. They stay in the organization and keep their other workspaces. You cannot remove yourself, and a member's last workspace cannot be removed (400): use remove_organization_member instead. Confirm with the user first, naming the member and the workspace. Needs the members.manage permission, which Admin holds. Fails with 404 when the user is not a member of this workspace. Returns { success: true }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"userId": "<userId>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The member's userId from list_members | |
| workspaceId | No | Workspace to act in: an id from list_workspaces. Omit to act in the workspace list_workspaces marks current. Use the same workspaceId for every call about the same workspace, since ids from one workspace (accounts, posts, uploads) do not exist in another |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | An object with success: true once the member is removed from the workspace. |