---
title: "Get strictest password configuration"
method: GET
path: "/resources/users/v1/passwords/config"
tags: ["Password settings"]
---

# Get strictest password configuration

`GET /resources/users/v1/passwords/config`

## Request

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

This route gets the user’s hardest password configuration. This is useful when a user belongs to multiple tenants and does not have the same password complexity for all of them. The route returns the strictest setting the user is subject to.

## Query parameters

- `userId` string

## Response `200`

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