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

Set two-factor authentication

Enable or disable TFA on your profile. An account administrator needs to disable TFA for you if the account is set to enable. If the account doesn't specify a TFA setting, you can disable TFA on your profile yourself. You can always set TFA to enable regardless of account-level settings. If you have TFA enabled, reset TFA clears your TFA settings and you'll be asked to set up TFA the next time you log in to Control Center.

Query Params
string
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.

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
Authentication
URL
Click Try It! to start a request and see the response here!