Disable user
disable_userDisable an organization member's access to this organization: until they are enabled again they can open nothing in it (their sign-in and their other organizations are not affected). Reversible — the user can be re-enabled from the web application. Returns a preview unless confirm=true is set.
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": {
"org_user_id": "<org_user_id>"
},
"name": "disable_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for disabling the user (stored for audit purposes). | |
| confirm | No | Set true to perform the action. Omit or false returns a preview only — nothing is written. | |
| org_user_id | Yes | Id of the OrganizationUser record to disable (not the Firebase userId). | |
| idempotency_key | No | Optional caller-supplied key; retrying with the same key returns the original result instead of acting twice. |