Aller au contenu

Disable 2FA

POST
/2fa/disable
curl --request POST \
--url https://auth.timetonic.com/api/2fa/disable \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "password": "example" }'

Disable 2FA (requires password)

Media typeapplication/json
object
password
required
string
Examplegenerated
{
"password": "example"
}

2FA disabled

Media typeapplication/json
object
success
boolean
message
string
Example
{
"success": true
}

Authentication required or failed

Media typeapplication/json
object
success
boolean
error
string
message
string
Example
{
"success": false,
"error": "unauthorized",
"message": "Authentication required"
}