Passcode
Finalize passcode login
Finalize a passcode login given the id of the passcode and the actual code provided in the the email sent to the user during initialization.
On success, sets the User's verified status to true.
post/passcode/login/finalize
Request
- Base URLhttps://.hanko.io/admin
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
"code": "897481"
}Response
Successful passcode login finalization
Example response
{
"id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
"ttl": 300
}Changes
No recorded changes to this operation across all 1 revision of this API.