---
title: "Reset system admin password"
method: POST
path: "/admin/password"
tags: ["Administration"]
---

# Reset system admin password

`POST /admin/password`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/admin/password`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/admin/password/post.ts> (a function with typed inputs; its response is checked against the schema)

Reset system admin password.

## Request body

- object
  - `old_password` string, required: The password of system admin.
  - `new_password` string, required: The password of system admin.

## Response `200`

OK

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
