---
title: "edit user profile"
method: PUT
path: "/answer/admin/api/user/profile"
tags: ["admin"]
---

# edit user profile

`PUT /answer/admin/api/user/profile`

edit user profile

## Request body

- SchemaEditUserProfileReq
  - `display_name` string, required
  - `email` string, required
  - `user_id` string, required
  - `username` string

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

## Changes

- **2024-06-09** `1fec98145e69` — 1 info
  - endpoint added
- **2023-12-14** `28f5955e0744` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/apache/apis/apache-answer/changes/answer/admin/api/user/profile/put.md)

---

[API](https://skmtc.dev/apache/apis/apache-answer.md) · [All operations](https://skmtc.dev/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/apache-answer/revisions/e9c2980e6571/schema)
