Send verification code

POST {{baseUrl}}/users/:user_id/two-factor/send-verification

Sends a one-time verification code to the user's phone number to start the process of enabling two-factor authentication.

Note: The workflow for two-factor authentication is as follows:

  1. Send a verification code.
  2. Validate the verification code.
  3. Configure two-factor authentication.

Requires ADMINISTRATOR [64] user permissions. See Permissions.

Request Body

{"sms_phone"=>"Ut labore aliqua sed amet"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{}