Skip to main content

Clear login lockout

POST 

/users/:username/unlock

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request POST \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/users/{username}/unlock"

Clears the account's login rate-limiter lockout. Root-only over the Unix socket, checked against the peer's uid 0 specifically. Audit-logged like the other recovery commands.

Request​

Responses​

Lockout cleared.