---
title: "Change current user's password"
method: POST
path: "/auth/change-password"
tags: ["auth"]
---

# Change current user's password

`POST /auth/change-password`

Allows a locally authenticated builtin user to change their own password. Externally authenticated users do not have Dagu passwords.

## Request body

- ChangePasswordRequest — Request body for changing password
  - `currentPassword` string, required — Current password for verification
  - `newPassword` string, required — New password to set

## Response `200`

Password changed successfully

- SuccessResponse — Generic success response
  - `message` string, required — Success message

## Other responses

- `400` — Invalid request (e.g., weak password)
- `401` — Not authenticated or wrong current password
- `403` — Password is managed by the authentication provider
- `default` — Unexpected error

---

[API](https://skmtc.net/dagucloud/apis/dagu.md) · [All operations](https://skmtc.net/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/93cc41f2018a/schema)
