---
title: "Upload avatar"
method: PUT
path: "/api/v1/user/me/avatar"
tags: ["My Account"]
---

# Upload avatar

`PUT /api/v1/user/me/avatar`

Upload a profile avatar. Send raw image bytes as the body with an
image/png, image/jpeg or image/webp Content-Type. The image is
center-cropped, resized and re-encoded server-side.

## Response `200`

Success

- ApiUserAvatarResponse
  - `results` object, required
    - `avatarUrl` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
