remove_workspace_member
Removes a user from a workspace and revokes workspace access without deleting the user from the organization.
Instructions
Remove a user from a workspace and revoke workspace access. This does not delete the user from the organization; use delete_user for full removal.
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": {
"workspace_id": "<workspace_id>",
"user_id": "<user_id>"
},
"name": "remove_workspace_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The user ID to remove | |
| workspace_id | Yes | The workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |