---
title: "Update Avatar"
method: POST
path: "/orgs/{org}/avatar"
tags: ["organization"]
---

# Update Avatar

`POST /orgs/{org}/avatar`

## Path parameters

- `org` string, required

## Request body

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

## Response `204`

APIEmpty is an empty response

## Other responses

- `404` — APINotFound is a not found 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)
