Update the caller's profile

1 min readEdit this page
PATCH
/v1/account

Edits the one user-mutable field, display_name. email and the IdP identifier are read-only here.

Requires the user:write scope.

Authorization

x-api-key<token>

Anthropic-style API key header.

In: header

Request Body

application/json

Request body. See the endpoint description for shape.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/account" \  -H "Content-Type: application/json" \  -d '{}'
{}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}

How is this guide?