User/Account

Update my profile

Self-service: the caller changes their OWN full name. Trimmed, 1–255 characters, stored and returned as plain text. No permission needed; a personal API token or a robot is refused.

PATCH
/api/v2/users/me

Authorization

BearerAuthObject
AuthorizationBearer <token>

Machine tokens only: a personal API token or a product robot token (POST /api/v2/products/{uid}/robot-tokens). A session JWT here is 401 — the web app uses the b2t_access cookie.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/v2/users/me" \  -H "Content-Type: application/json" \  -d '{    "fullName": "Jane Doe"  }'
{  "fullName": "Jane Doe"}
Empty
Empty
Empty