Actions31
- User API Actions
- Organization API Actions
- Allowlist API Actions
- Domain API Actions
- Session API Actions
- Invitation API Actions
User API → Lock User
AI-generatedSummary
Lock a specified user account to prevent access.
Inputs
- userId (required) — The ID of the user to lock.
Output shape
no body — success/failure only
No records are returned upon successful execution, only the status of the operation.
Examples
Example 1: Locking a user account
Provide the user's ID as a parameter to lock their account.