---
title: "Change own password"
method: POST
path: "/users/passwd"
tags: ["User"]
---

# Change own password

`POST /users/passwd`

Change the current user's password and revoke all of their sessions.

## Query parameters

- `cookie_name` string, nullable

## Request body

- PasswordResetIn
  - `old_password` string, required — Current password, required to authorize the change.
  - `new_password` string, required — New password to set.

## Response `204`

Successful Response

## Other responses

- `401` — Missing or invalid authentication, or wrong current password.
- `404` — The current user no longer exists.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
