---
title: "modify account password"
method: POST
path: "/user/password/edit"
tags: ["Account"]
---

# modify account password

`POST /user/password/edit`

## Request

- The document declares no server URL.
- Auth: none declared

to modify the current user's password, the username must be included in the header.

## Request body `application/x-www-form-urlencoded`

- object
  - `oldPassword` string, required: old password
  - `newPassword` string, required: new password

## Response `200`

OK

- string

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-admin-api/revisions/ff6f3aa9acae?raw)
