Suspend a member
suspend_memberSuspend an organization member: they lose access immediately but stay a member, and reactivate_member gives it back. memberId is the member id from list_members, not the user id. Requires a confirmationToken: call preview_operation with tool "suspend_member" and these arguments first, show the returned plan to the user, and call this tool only after the user explicitly agrees. Needs the organization:manage permission and the owner role.
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": {
"organizationId": "<organizationId>",
"memberId": "<memberId>",
"confirmationToken": "<confirmationToken>"
},
"name": "suspend_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memberId | Yes | ||
| requestId | No | Optional idempotency key, 8-255 printable characters. Reuse it only to retry this same call. | |
| organizationId | Yes | ||
| confirmationToken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | Yes | ||
| state | Yes | ||
| userId | Yes | The user this membership belongs to | |
| isActive | Yes | ||
| joinedAt | Yes | ||
| projectIds | Yes | The projects a selected access reaches; empty when the mode is all | |
| projectAccessMode | Yes | Which projects of the organization the member reaches: every project, or only projectIds |