Dozor
User

Update display name

Renames the signed-in user. Avatar regeneration has its own endpoint (`POST /api/user/avatar`) — the two actions live in different parts of the profile form.

PATCH/api/user

Renames the signed-in user. Avatar regeneration has its own endpoint (POST /api/user/avatar) — the two actions live in different parts of the profile form.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://loading/api/user" \  -H "Content-Type: application/json" \  -d '{    "name": "Sam Owner"  }'
Empty
Empty
Empty