---
title: "PUT /v1/users/{userID}/change-password"
method: PUT
path: "/v1/users/{userID}/change-password"
tags: ["MiniBlog"]
---

# PUT /v1/users/{userID}/change-password

`PUT /v1/users/{userID}/change-password`

ChangePassword 修改密码

## Path parameters

- `userID` string, required

## Request body

- V1ChangePasswordRequest — ChangePasswordRequest 表示修改密码请求
  - `userID` string — userID 表示用户 ID
  - `oldPassword` string — oldPassword 表示当前密码
  - `newPassword` string — newPassword 表示准备修改的新密码

## Response `200`

OK

- V1ChangePasswordResponse — ChangePasswordResponse 表示修改密码响应

---

[API](https://skmtc.net/onexstack/apis/miniblog-api.md) · [All operations](https://skmtc.net/onexstack/apis/miniblog-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onexstack/miniblog-api/revisions/260806329592/schema)
