Two-Factor Authentication
Disable Two-Factor Authentication
Disables two-factor authentication
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
headerrequiredBearer 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.
Was this page helpful?
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."
}