Toggle User 2FA
POST
/auth/two_factor/toggle
Enables or disables two-factor for current account.
Authorizations
SessionAuth
Session ID for authenticated requests
Type
API Key (header: X-Session-ID)
Request Body
application/json
JSON "enabled": true
{
}
Responses
Toggle updated
application/json
JSON "success": true, "two_factor": true, "message": "string"
{
}