Send Login Code
Sends a temporary one time code to the user that can be used during login flow.
If the user has a credential of kind PasswordProtectedKey a temporary one time code needs to be passed in the loginCode field. That’s because the Create Login Challenge is unauthenticated and returns the encrypted private key of the user. So we need a first step to verify the identity of the user to prevent anybody from fetching the encrypted private key and trying to brute force it offline.
Authentication
No authentication required.Required Permissions
No authentication required.Body
Username/identifier of the user to send the login code to.
Organization id.
1 - 64^or-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"or-30tnh-itmjs-s235s5ontr3r23h2"
Account id.
1 - 64^acct-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$"acct-24hka-dhili-9hgvdlvr1ohpibp4"
Response
Success
Human-readable success message.