Preferences
Update Preferences
Update the account preferences
PUT
/
v1
/
account
/
preferences
Authorization
Body
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.preferences.update({
marketing: true
}).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.
Body
application/json
email
object
Response
200 - application/json
email
object
Was this page helpful?
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.preferences.update({
marketing: true
}).then((data) => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"email": {
"crashed_instances": true,
"failed_builds": true,
"marketing": true
}
}