Unlock user
POST
https://app.speybooks.com/api/v1/admin/users/{id}/unlockUnlock a user account that was locked after failed login attempts. Clears the lock and resets the failed-attempt counter. Returns 404 if the user does not exist or is not currently locked.
Records a USER_UNLOCKED action in the audit log.
Path parameters
idstringrequiredUser ID to unlock.
Response
200Account unlocked. Failed attempts reset to zero.
Error codes
400Invalid user ID.
404User not found or not currently locked.