Close or restore member access
set_workspace_member_blockedCloses a member's access to the account without removing them, or gives it back. While access is closed, the member cannot work in this account (dashboard, API, MCP), their member API key does not work; role, folders, note and API settings are kept, the seat in the plan stays taken. You cannot close access for the owner, yourself, or someone who has not accepted the invitation yet. Repeating the same state is a success without changes. Requires the "Members" right.
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>",
"member_id": "<member_id>",
"blocked": "<blocked>"
},
"name": "set_workspace_member_blocked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocked | Yes | true — close access, false — restore it. | |
| member_id | Yes | Member ID (member_id from get_workspace_members). | |
| workspace_id | Yes | Workspace ID (from workspace://list). |