---
title: "Update password configuration"
method: POST
path: "/resources/configurations/v1/password"
tags: ["Password settings"]
---

# Update password configuration

`POST /resources/configurations/v1/password`

## Request

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

This route updates the password policy for all tenants. To update the password policy for a specific tenant, send the tenant’s ID in the **`frontegg-tenant-id`** header. Send the updated values as POST body params.

## Headers

- `frontegg-tenant-id` string

## Request body

- PasswordConfigRequest
  - `allowPassphrases` boolean
  - `maxLength` number
  - `minLength` number
  - `minPhraseLength` number
  - `minOptionalTestsToPass` number
  - `blockPwnedPasswords` boolean

## Response `201`

- PasswordConfigResponse
  - `allowPassphrases` boolean
  - `maxLength` number
  - `minLength` number
  - `minPhraseLength` number
  - `minOptionalTestsToPass` number
  - `blockPwnedPasswords` boolean, required

---

[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)
