Verify TOTP MFA device
POST
/
sdk
/
{environmentId}
/
users
/
mfa
/
register
/
totp
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
environmentId
string
requiredID of the environment
Body
application/json
type
enum<string>
requiredAvailable options:
totp
, passkey
code
string
requiredThe TOTP code generated by the user
Response
200 - application/json
type
enum<string>
Available options:
totp
, passkey
verified
boolean
Whether or not the user has a verified this MFA Device
id
string
createdAt
string
The date and time the MFA device was created
verifiedAt
string | null
The date and time the MFA device was verified
default
boolean
Whether or not this is the default MFA device for the user
alias
string
The optional alias for the MFA device
Was this page helpful?