# /admin/users/{username}/password

> The /admin/users/{username}/password endpoint of the DS Server Web API and its POST method, which sets a new password for the admin user of DS Server.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Endpoint
- **Path:** DS Server > API Reference > Web API > Administration > /admin/users/{username}/password
- **102 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/llms-full.txt

---

This endpoint offers the following method.

| Method | Endpoint | Description |
|---|---|---|
| [`POST`](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt) | [/admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt) | Updates the password of the given username with a new password. |

---

## In This Section

- [POST /admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt): Change the DS Server admin password: post a JSON object with newPassword, at least 8 characters, with Basic authorization; other user names return 404.

---

## Nearby

- **Previous:** [Administration](https://docs.textcontrol.com/ds-server/reference/web-api/administration/llms-full.txt)
- **Next:** [POST /admin/users/{username}/password](https://docs.textcontrol.com/ds-server/reference/web-api/administration/users-username-password/post/llms-full.txt)
