v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
SDK

Verify TOTP MFA device

post/sdk/{environmentId}/users/mfa/register/totp

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Request body

type'totp' | 'passkey' | 'email' required
codestring required

The TOTP code generated by the user

Response

Successful operation

type'totp' | 'passkey' | 'email'
verifiedboolean

Whether or not the user has a verified this MFA Device

idstring
createdAtstring date-time

The date and time the MFA device was created

verifiedAtstring date-time nullable

The date and time the MFA device was verified

defaultboolean

Whether or not this is the default MFA device for the user

aliasstring

The optional alias for the MFA device

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f"
}