---
title: "Update user's avatar and name"
method: PUT
path: "/users"
---

# Update user's avatar and name

`PUT /users`

Update the user's avatar and name with the specified values

## Headers

- `authorization` string, required

## Request body

- object
  - `avatar` string — The new avatar image for the user
  - `name` string — The new name for the user

## Response `200`

User info

- object
  - `id` integer — The ID of the user
  - `name` string — The name of the user
  - `avatar` string — The URL of the user's avatar image
  - `email` string — The email address of the user

## Other responses

- `401` — Unauthorized request
- `500` — Internal server error

---

[API](https://skmtc.net/01-edu/apis/friend-tracker-api.md) · [All operations](https://skmtc.net/01-edu/apis/friend-tracker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/01-edu/friend-tracker-api/revisions/0a952c2d887c/schema)
