---
title: "Update user avatar"
method: PUT
path: "/v2/users/{user_id}/avatar"
tags: ["User"]
---

# Update user avatar

`PUT /v2/users/{user_id}/avatar`

Update a user avatar by its Id.

## Path parameters

- `user_id` string, required

## Response `200`

- object
  - `id` string — User Id.
  - `avatar_url` string — User avatar resource URL. **The file pointed by this URL is treated as PII/PHI**

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — User was not found
- `422` — Unprocessable Content
- `429` — Too Many request

---

[API](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis.md) · [All operations](https://skmtc.net/kaleyra/apis/kaleyra-io-sms-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaleyra/kaleyra-io-sms-apis/versions/d9b785884d03/schema)
