Preferences
Get Preferences
Returns the account preferences
GET
/
v1
/
account
/
preferences
Authorization
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.preferences.get().then((data) => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"email": {
"crashed_instances": true,
"failed_builds": true,
"marketing": true
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
email
object
Was this page helpful?
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.preferences.get().then((data) => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"email": {
"crashed_instances": true,
"failed_builds": true,
"marketing": true
}
}