---
title: "Update Avatar"
method: POST
path: "/user/avatar"
tags: ["user"]
---

# Update Avatar

`POST /user/avatar`

## Request body

- UpdateUserAvatarOption — UpdateUserAvatarUserOption options when updating the user avatar
  - `image` string — image must be base64 encoded

## Response `204`

APIEmpty is an empty response

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/revisions/350de506cefa/schema)
