---
title: "update user portrait"
method: PUT
path: "/user/{user_id}/portrait/{portrait_id}"
tags: ["user"]
---

# update user portrait

`PUT /user/{user_id}/portrait/{portrait_id}`

## Path parameters

- `user_id` string, required
- `portrait_id` string, required

## Request body

- SvcUserPortraitReq
  - `content` string, required

## Response `200`

OK

- ContextResponse
  - `data` unknown
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

## Changes

- **2026-01-28** `7e7af235d64f` — 1 info
  - endpoint added
- **2025-12-26** `4207addadff2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/chaitin/apis/koalaqa-api/changes/user/:user_id/portrait/:portrait_id/put.md)

---

[API](https://skmtc.dev/chaitin/apis/koalaqa-api.md) · [All operations](https://skmtc.dev/chaitin/apis/koalaqa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/koalaqa-api/revisions/29abcc05d9fd/schema)
