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

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
type
enum<string>
required
Available options:
totp
code
string
required

The TOTP code generated by the user

Response

200 - application/json
type
enum<string>
Available options:
totp
verified
boolean

Whether or not the user has a verified this MFA Device

id
string

ID of the environment

createdAt
string

The date and time the MFA device was created

default
boolean

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

Was this page helpful?