You are here: Home > API Reference > Platform > User Authentication > Deactivate two factor

Deactivate two factor

Deactivate two factor

DELETE
https://api.applivery.io/v1/auth/two-factor

Request

Send your API key in the request header authorization
Example: Authorization: Bearer <token>

Body Params application/json
password string required
≤ 128 characters
language string optional
es en fr de it zh pt ru
{
    "password": "string",
    "language": "es"
}

Responses

200 Response application/json
status boolean optional
data object optional
activate string optional
OK
{
    "status": true,
    "data": {
        "activate": "OK"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4013
message string optional
Invalid 2FA code
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}
Was this page helpful?