disable_user
Disable an organization member so they can no longer sign in or use the app. Reversible — the user can be re-enabled from the web application. Returns a preview unless confirm=true is set.
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. |