Update User Wallet
API operation: Open the endpoint in Scalar
Use PUT /users/{user_id}/wallets/{wallet_id} to update a user's wallet lock state. The current public operation is Wallet.update.
Only administrators and agents can update a wallet. The request must identify the user and wallet and include locked. Unlocking clears locked_reason and locked_at; locking records the time and creates a zero-amount audit event attributed to the authenticated caller.
The locked field is required. See Wallet model.