Send verification code

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 the Administrator [64] user role. See Roles.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The unique ID of the user.

Body Params
string
required

The phone number where Tenable Vulnerability Management sends the one-time verification code. Must begin with the + character and the country code.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

404

Returned if Tenable Vulnerability Management cannot find the specified user.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/html