Account
Update Account
Updates the account information
PUT
/
v1
/
account
Authorization
Body
const { setToken, Account } = require('@evecloud/sdk');
setToken('TOKEN');
Account.update({
name: 'John Doe'
}).then(data => {
console.log(data);
}).catch((error) => {
console.log(error);
});
{
"avatar": "https://cdn.auth0.com/avatars/jd.png",
"created_at": "2023-03-02T13:45:30.152Z",
"email": "john.doe@acme.co",
"id": 2884306356092489,
"integrations": {
"github": {}
},
"name": "John Doe",
"updated_at": "2023-03-28T09:08:38.827Z",
"username": "johndoe",
"uuid": "b04e6c1b-3f0b-4867-9c0a-01c892f51aba",
"verified": true
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
avatar
string
The account avatar.
email
string
The account email.
name
string
The account name.
username
string
The account username.
Response
200 - application/json
avatar
string
The account avatar.
created_at
string
The account created at date.
email
string
The account email.
id
string
The account ID.
integrations
object
The account integrations.
name
string
The account name.
updated_at
string
The account updated at date.
username
string
The account username.
uuid
string
The account UUID.
verified
boolean
The account verified status.
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);
});
{
"avatar": "https://cdn.auth0.com/avatars/jd.png",
"created_at": "2023-03-02T13:45:30.152Z",
"email": "john.doe@acme.co",
"id": 2884306356092489,
"integrations": {
"github": {}
},
"name": "John Doe",
"updated_at": "2023-03-28T09:08:38.827Z",
"username": "johndoe",
"uuid": "b04e6c1b-3f0b-4867-9c0a-01c892f51aba",
"verified": true
}