---
title: "Update current user profile"
method: PUT
path: "/api/v1/users/profile"
tags: ["users", "android_app", "web_app"]
---

# Update current user profile

`PUT /api/v1/users/profile`

Update current user profile, support avatar update

## Request body

- UserUpdate — 更新用户信息
  - `nickname` string, nullable
  - `avatar` string, nullable
  - `email` string, nullable
  - `user_photo` string, nullable
  - `phone` string, nullable
  - `gender` 'MALE' | 'FEMALE' | 'OTHER' — 性别
  - `age_group` string, nullable
  - `description` string, nullable
  - `system_language` string, nullable
  - `request_id` string, nullable

## Response `200`

Successful Response

- APIResponseUser
  - `code` integer
  - `message` string
  - `data` User — 返回给客户端的用户信息
    - `readable_id` string, required
    - `nickname` string, nullable
    - `avatar` string, nullable
    - `email` string, nullable
    - `user_photo` string, nullable
    - `phone` string, nullable
    - `gender` 'MALE' | 'FEMALE' | 'OTHER' — 性别
    - `age_group` string, nullable
    - `description` string, nullable
    - `system_language` string, nullable
    - `id` string, required
    - `auth_type` string, required
    - `is_active` boolean, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable
    - `is_superuser` boolean
    - `public_agents_count` integer, nullable
    - `total_public_agents_follows` integer, nullable
    - `followers_count` integer, nullable
    - `connector_count` integer, nullable
    - `actions` UserAction[]
      - `type` 'request_feedback', required — 用户行动类型枚举
      - `enabled` boolean, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-12** `5b77ae7cc5c4` — 2 info
  - added the new optional request property `user_photo`
  - added the optional property `data/anyOf[subschema #1: User]/user_photo` to the response with the `200` status
- **2025-12-12** `b2372bf7485c` — 1 info
  - added the optional property `data/anyOf[subschema #1: User]/actions` to the response with the `200` status
- **2025-11-25** `05cf5f034c74` — 2 info
  - api tag `android_app` added
  - api tag `web_app` added
- **2025-09-29** `bd9470194fe1` — 1 info
  - added the new optional request property `request_id`
- **2025-09-17** `59b50240cba5` — 5 breaking, 14 warning, 3 info
  - removed the required property `auth_type` from the response with the `200` status
  - removed the required property `created_at` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `is_active` from the response with the `200` status
  - …18 more

[Change history](https://skmtc.dev/nascentcore/apis/inty-backend/changes/api/v1/users/profile/put.md)

---

[API](https://skmtc.dev/nascentcore/apis/inty-backend.md) · [All operations](https://skmtc.dev/nascentcore/apis/inty-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nascentcore/inty-backend/revisions/1e014c365df2/schema)
