Javascript
import Evecloud from '@evecloud/sdk'; const client = new Evecloud({ token: 'My Token', }); async function main() { const account = await client.accounts.update(); console.log(account.data); } main();
{ "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 }
Update authenticated account details.
Default authentication mechanism
2 - 32
"John"
"Doe"
"john.doe@acme.co"
Successful request.
Hide child attributes
Unique identifier.
"8c53a06e-9e0d-4258-8f89-84df16b1bead"
Unique username.
"johndoe"
First name.
Last name.
Account verification status.
true
Profile picture URL.
null
Last update date.
"2021-08-01T00:00:00.000Z"
Creation date.
Whether the API call was successful
Was this page helpful?