---
title: "Change Password"
method: POST
path: "/api/auth/change-password"
tags: ["Authentication"]
---

# Change Password

`POST /api/auth/change-password`

Change user password endpoint

## Request body

- ChangePasswordRequest — Change password request model
  - `current_password` string, required
  - `new_password` string, required

## Response `200`

Successful Response

- ChangePasswordResponse — Change password response model
  - `success` boolean, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/versions/33e4ba4936ad/schema)
