# Change the administrator password

Canonical: https://docs.shumoku.dev/en/server/0.2.0/api/postAuthChangePassword
Language: en
Server documentation version: 0.2.0
Product version: 0.2.0
Channel: stable

Shumoku Server API · 0.2.0 · Authentication

# Change the administrator password

[OpenAPI source](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)

```
POST /api/auth/change-password
```

## Authentication

sessionCookie

## Request body

`ChangePasswordRequest` · application/json · required

## Responses

| Status | Description | Schema |
| --- | --- | --- |
| `200` | Operation completed | `AuthSuccess` |
| `400` | The request did not match the API contract | `Error` |
| `401` | Authentication or current password is invalid | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.2.0/apps/server/api/openapi.json)
