---
title: "Verify the password reset token and set a new password"
method: PUT
path: "/auth/change-password"
tags: ["auth"]
---

# Verify the password reset token and set a new password

`PUT /auth/change-password`

## Request body

- object
  - `old_password` string, required
  - `new_password` string, required

## Response `200`

Password updated successfully

- object
  - `status` string
  - `message` string
  - `status_code` integer

## Other responses

- `400` — Invalid input
- `401` — Unauthorized
- `422` — Unprocessed Entity

---

[API](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger.md) · [All operations](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hngprojects/kimiko-golang-swagger/revisions/2d1d3ed96bb9/schema)
