---
title: "更新用户"
method: PUT
path: "/test/user/update"
tags: ["test-controller"]
---

# 更新用户

`PUT /test/user/update`

## Request body

- UserEntity — 用户实体
  - `mobile` string — 用户手机
  - `password` string — 用户密码
  - `userId` integer — 用户ID
  - `username` string — 用户名称

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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