---
title: "PUT /auth/identity/passwordPolicy"
method: PUT
path: "/auth/identity/passwordPolicy"
---

# PUT /auth/identity/passwordPolicy

`PUT /auth/identity/passwordPolicy`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/auth/identity/passwordPolicy`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/auth/identity/passwordPolicy/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- PasswordPolicyUpdateRequest
  - `passwordPolicies` PasswordPoliciesUpdateRequest, required
    - `digits` integer: The minimum number of numeric digits required in the password string.
    - `forceExpiredPasswordChange` integer: The number of days the password is valid before a new password is required.
    - `length` integer: The minimum number of characters allowed in the password.
    - `lowercase` integer: The minimum number of uppercase characters required in the password string.
    - `maxLength` integer: The maximum number of characters allowed in the password.
    - `passwordHistory` integer: The minimum age of a password in days to allow its reuse.
    - `specialChars` integer: The minimum number of special characters required in the password string.
    - `uppercase` integer: The minimum number of uppercase characters required in the password string.

## Response `200`

OK

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/77ee7d8172b9?raw)
