POST
/
v1
/
account
/
two-factor
/
disable
Authorization
Body
const { setToken, Account } = require('@evecloud/sdk');

setToken('TOKEN');

Account.tfa.disable('CODE').then((data) => {
    console.log(data);
}).catch((error) => {
    console.log(error);
});
{
  "message": "Two-factor authentication disabled."
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
code
string

The two-factor authentication code.

Response

200 - application/json
message
string

The success message.