---
title: "Change admin password"
method: PUT
path: "/admin/changepwd"
tags: ["admins"]
---

# Change admin password

`PUT /admin/changepwd`

Changes the password for the logged in admin

## Request body

- PwdChange
  - `current_password` string
  - `new_password` string

## Response `200`

successful operation

- ApiResponse
  - `message` string — message, can be empty
  - `error` string — error description if any

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `default` — Unexpected Error

---

[API](https://skmtc.net/kanton-bern/apis/sftpgo.md) · [All operations](https://skmtc.net/kanton-bern/apis/sftpgo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kanton-bern/sftpgo/versions/d8d616a479b0/schema)
