---
title: "Set a new password"
method: POST
path: "/users/change-password"
tags: ["System - Logged In Users"]
---

# Set a new password

`POST /users/change-password`

## Query parameters

- `oldpassword` string, required
- `newpassword` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests

## Changes

- **2026-09-26** `65e661618b8f` — 1 breaking, 1 info
  - the `roles` response's property type changed from `array` to `object` for status `200`
  - api operation id `O` removed and replaced with `C_1`
- **2026-09-15** `4da8c9536717` — 1 info
  - api operation id `N` removed and replaced with `O`
- **2026-09-15** `e2458537595b` — 1 info
  - api operation id `a_2` removed and replaced with `N`
- **2026-09-11** `2e438cb3181d` — 1 info
  - api operation id `q_1` removed and replaced with `a_2`
- **2026-09-07** `50527361f800` — 1 info
  - api operation id `f` removed and replaced with `q_1`

[Full history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/users/change-password/post.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) · [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/65e661618b8f?raw)
