---
title: "Change password"
method: POST
path: "/resources/users/v1/passwords/change"
tags: ["Password settings"]
---

# Change password

`POST /resources/users/v1/passwords/change`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/users/v1/passwords/change`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v1/passwords/change/post.ts> (a function with typed inputs; its response is checked against the schema)

This route changes the password for a logged-in user. Send the **`frontegg-user-id`** and **`frontegg-tenant-id`** headers to declare which user and which tenant. Send the current and new passwords in the POST body.

## Headers

- `frontegg-user-id` string, required

## Request body

- UpdateUserPasswordDto
  - `password` string, required
  - `newPassword` string, required

## Response `201`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
