> You are reading the Docusign Developer Documentation. For clean Markdown of any page, append .md to the page URL.
>
> Documentation indexes by section:
> - APIs and SDKs: https://docusign.docs.buildwithfern.com/docs/llms.txt
> - Platform 101: https://docusign.docs.buildwithfern.com/platform/llms.txt
> - Extension Apps: https://docusign.docs.buildwithfern.com/extension-apps/llms.txt
> - Docusign CLI: https://docusign.docs.buildwithfern.com/docusign-cli/llms.txt
>
> Authentication (OAuth, JWT Grant, M2M): https://docusign.docs.buildwithfern.com/platform/auth
> Webhooks and Connect: https://docusign.docs.buildwithfern.com/platform/webhooks
>
> OpenAPI specifications: https://docusign.docs.buildwithfern.com/openapi.json
> MCP server: https://docusign.docs.buildwithfern.com/_mcp/server

# AccountPasswordRules Resource

The AccountPasswordRules resource provides methods that allow you to obtain and update account password rules, as well as membership and account rules.

## Methods supported

| Method                                                                                   | Description                                                                              |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [get](/docs/esign-rest-api/v2/reference/accounts/accountpasswordrules/get)               | GET `/restapi/v2/accounts/{accountId}/settings/password_rules` Get the password rules    |
| [getForUser](/docs/esign-rest-api/v2/reference/accounts/accountpasswordrules/getforuser) | GET `/restapi/v2/current_user/password_rules` Get membership account password rules      |
| [update](/docs/esign-rest-api/v2/reference/accounts/accountpasswordrules/update)         | PUT `/restapi/v2/accounts/{accountId}/settings/password_rules` Update the password rules |

## AccountPasswordRules properties

| Property                                 | Type                                  | Description |
| ---------------------------------------- | ------------------------------------- | ----------- |
| `expirePassword`                         | string                                |             |
| `expirePasswordDays`                     | string                                |             |
| `expirePasswordDaysMetadata`             | accountPasswordExpirePasswordDays     |             |
| `lockoutDurationMinutes`                 | string                                |             |
| `lockoutDurationMinutesMetadata`         | accountPasswordLockoutDurationMinutes |             |
| `lockoutDurationType`                    | string                                |             |
| `lockoutDurationTypeMetadata`            | accountPasswordLockoutDurationType    |             |
| `minimumPasswordAgeDays`                 | string                                |             |
| `minimumPasswordAgeDaysMetadata`         | accountPasswordMinimumPasswordAgeDays |             |
| `minimumPasswordLength`                  | string                                |             |
| `minimumPasswordLengthMetadata`          | accountMinimumPasswordLength          |             |
| `passwordIncludeDigit`                   | string                                |             |
| `passwordIncludeDigitOrSpecialCharacter` | string                                |             |
| `passwordIncludeLowerCase`               | string                                |             |
| `passwordIncludeSpecialCharacter`        | string                                |             |
| `passwordIncludeUpperCase`               | string                                |             |
| `passwordStrengthType`                   | string                                |             |
| `passwordStrengthTypeMetadata`           | accountPasswordStrengthType           |             |
| `questionsRequired`                      | string                                |             |
| `questionsRequiredMetadata`              | accountPasswordQuestionsRequired      |             |