These docs are for v2. Click to read the latest docs for v3.

Set a user's two-factor authentication

Actions for this operation are enable, disable, and reset. Users can make five attempts to log in with TFA before their accounts lock. If the account gets locked, use reset value to unlock.

Path Params
string
required

A unique identifier for a user.

Query Params
string
enum
required

Enum Includes the actions you can perform for TFA on your own profile, either enable, disable, or reset. Don't confuse this with the actions parameter, which applies to the various operations that get user data.

Allowed:
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Response
204

Authentication updated.

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!