Skip to content

users_v1_mfa_create

POST
/users/v1/mfa/
curl --request POST \
--url https://api.nudova.dev/api/users/v1/mfa/ \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "mfa_type": "totp", "phone_number": "example" }'
Media typeapplication/json
object
mfa_type
required
Mfa type
string
Allowed values: totp sms
phone_number
Phone number
string
>= 1 characters
Media typeapplication/json
object
mfa_type
required
Mfa type
string
Allowed values: totp sms
phone_number
Phone number
string
>= 1 characters
Example
{
"mfa_type": "totp"
}