Skip to main content
POST
Enable or disable two-factor authentication

Authorizations

Authorization
string
header
required

See Authentication for the full explanation of session tokens vs. API keys and when each is used.

Body

application/json
enabled
boolean
required

Response

200

Updated