Remove Organization Member
remove_organization_memberRemove a member from the organization of the workspace the call acts in: they leave every workspace in it, and their API keys and connect links are revoked. The organization owner cannot be removed, only the owner can remove an organization admin, and you cannot remove yourself. Confirm with the user first, naming the member and the workspaces they will lose. Needs the members.manage permission, which Admin holds. The member who created the key, or the signed-in member, must also be an organization owner or admin (org-owner or org-admin); otherwise it fails with 403 permission_denied. 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_organization_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 organization. |