---
title: "Configure password profile"
method: PATCH
path: "/password_profile/{name}"
tags: ["User"]
---

# Configure password profile

`PATCH /password_profile/{name}`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/password_profile/{name}`
- Auth: none declared. Required headers: `X-Auth-Token`
- TypeScript: <https://skmtc.dev/neuvector/apis/neuvector-api/docs/password_profile/:name/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `name` string, required

## Headers

- `X-Auth-Token` string, required

## Request body

- RESTPwdProfileConfigData
  - `config` RESTPwdProfileConfig, required
    - `name` string, required
    - `active` boolean
    - `comment` string
    - `min_len` integer
    - `min_uppercase_count` integer
    - `min_lowercase_count` integer
    - `min_digit_count` integer
    - `min_special_count` integer
    - `enable_password_expiration` boolean
    - `password_expire_after_days` integer
    - `enable_password_history` boolean
    - `password_keep_history_count` integer
    - `enable_block_after_failed_login` boolean
    - `block_after_failed_login_count` integer
    - `block_minutes` integer

## Response `200`

Success

---

[API](https://skmtc.dev/neuvector/apis/neuvector-api.md) - [All operations](https://skmtc.dev/neuvector/apis/neuvector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neuvector/apis/neuvector-api/revisions/b8d8d28840b3?raw)
