Replaces your profile details.
HTTP
PUT /accountAccess: Session token only. API keys get 403 with insufficient_scope.
Request body #
JSON.
| Field | Type | Required | Description |
|---|---|---|---|
displayName | string | yes | The name shown to others. At most 80 characters. |
firstName | string | no | At most 60 characters. |
lastName | string | no | At most 60 characters. |
jobTitle | string | no | At most 80 characters. |
company | string | no | At most 80 characters. |
JSON
{ "displayName": "Ada Lovelace", "firstName": "Ada", "lastName": "Lovelace", "jobTitle": "Engineer", "company": "Analytical Engines" }Response 200 #
The saved profile.
JSON
{
"id": "0197a3c2-5b1e-7c4a-9d2f-3e8b6a1f0c55",
"email": "ada@example.com",
"displayName": "Ada Lovelace",
"firstName": "Ada",
"lastName": "Lovelace",
"jobTitle": "Engineer",
"company": "Analytical Engines",
"locale": "en-GB"
}Response fields #
| Field | Type | Description |
|---|---|---|
id | string | The id of the user. |
email | string | The email address. |
displayName | string | The name shown to others. |
firstName | string | The first name. Defaults to the first word of the display name. |
lastName | string | The last name. Defaults to the rest of the display name. |
jobTitle | string or null | The job title. |
company | string or null | The company. |
locale | string or null | The interface language, for example en-GB. null until picked. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 422 | invalid_request | A field is empty (displayName) or longer than allowed. fields names it with the code invalid. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.
Notes #
Fields you leave out are cleared, except displayName, which is required.