Skip to main content
POST
/
users
/
{user_id}
/
totp
Error
A valid request URL is required to generate request examples
{
  "recovery_codes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

user_id
string<uuid>
required

The ID of the user.

Example:

"d81c8ee2-44b3-429f-b944-a33ad7437690"

Body

application/json
secret
string
required

The secret seed for the enrollment

passcode
string
required

TOTP passcode for the enrollment

Response

OK

recovery_codes
string[]

A list of recovery codes for the MFA enrollment.