Skip to main content
POST
/
v1
/
account
/
two-factor
/
disable
Disable two-factor authentication
curl --request POST \
  --url https://dev.flextell.ai/api/v1/account/two-factor/disable \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>"
}
'
{
  "success": "<string>",
  "data": {
    "is_enabled": true,
    "is_confirmed": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
current_password
string
required

The current account password.

Response

success
string
required
data
object
required