Update Account
Update Account
Updates the account information
PUT
/
v1
/
account
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.update({
name: 'John Doe'
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"data": {
"id": "8c53a06e-9e0d-4258-8f89-84df16b1bead",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"verified": true,
"picture": null,
"updatedAt": "2021-08-01T00:00:00.000Z",
"createdAt": "2021-08-01T00:00:00.000Z"
},
"success": true
}
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.update({
name: 'John Doe'
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});
Authorizations
Default authentication mechanism
Body
application/json
Response
200
application/json
Successful request.
The response is of type object
.
Was this page helpful?
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.update({
name: 'John Doe'
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"data": {
"id": "8c53a06e-9e0d-4258-8f89-84df16b1bead",
"username": "johndoe",
"firstName": "John",
"lastName": "Doe",
"verified": true,
"picture": null,
"updatedAt": "2021-08-01T00:00:00.000Z",
"createdAt": "2021-08-01T00:00:00.000Z"
},
"success": true
}