---
title: "Fetch all password policies"
method: GET
path: "/restapi/json/v1/passwords/policies"
tags: ["Passwords"]
---

# Fetch all password policies

`GET /restapi/json/v1/passwords/policies`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/passwords/policies`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/passwords/policies/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches the list of password policies defined in the PAM360. Each policy outlines the constraints and rules enforced on passwords such as complexity requirements, reuse limitations, validity period, and similarity checks.

## Headers

- `orgName` string

## Response `200`

List of password policies

- PasswordPolicyResponse: Response structure for retrieving password policies.
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` object
      - `POLICIES` object[]: List of configured password policies.
        - `POLICYID` string: Unique identifier of the policy.
        - `POLICYNAME` string: Name of the password policy.
        - `DESCRIPTION` string: Description of the password policy.
        - `DEFAULTPOLICY` string: Whether this is the default policy.
        - `PASSWORD MIN LENGTH` string: Minimum number of characters required.
        - `PASSWORD MAX LENGTH` string: Maximum number of characters allowed.
        - `PASSWORD VALIDITY PERIOD` string: Number of days before the password expires. 0 means no expiry.
        - `REUSE OF OLD PASSWORDS` string: Number of previous passwords that cannot be reused.
        - `ENFORCE MIXED CASE` string: Whether both uppercase and lowercase letters are required.
        - `NUMBER OF UPPERCASE CHARACTERS REQUIRED` string: Minimum uppercase characters required.
        - `NUMBER OF LOWERCASE CHARACTERS REQUIRED` string: Minimum lowercase characters required.
        - `ENFORCE NUMERALS` string: Whether numerals are required.
        - `NUMBER OF NUMERALS` string: Minimum numerals required.
        - `ENFORCE SPL CHARS` string: Whether special characters are required.
        - `NO OF SPL CHARS REQUIRED` string: Minimum special characters required.
        - `ENFORCE STARTING WITH AN ALPHABET` string: Whether password must start with an alphabetic character.
        - `PASSWORD CAN CONTAIN LOGINNAME` string: Whether the password can contain the login name.
        - `CHECK DICTIONARY WORD` string: Whether dictionary word check is enabled.
        - `DICTIONARY NAME` string: Name of the dictionary used for checking.
        - `CHECK ANAGRAM OF LOGINNAME` string: Whether anagram of login name check is enabled.
        - `CHECK SIMILARITY OF PASSWORDS` string: Whether similarity check against previous passwords is enabled.
        - `NUMBER OF PASSWORDS TO CHECK FOR SIMILARITY` string: Number of previous passwords to check for similarity.
        - `CHECK REPEATED SUBSTRING` string: Whether repeated substring check is enabled.
        - `CHECK SEQUENCE` string: Whether sequence check is enabled.
        - `SEQUENCE LENGTH` string: Minimum length of sequence to detect.
        - `CHECK ALPHABET SEQUENCE` string: Whether alphabetic sequence detection is enabled.
        - `CHECK NUMERIC SEQUENCE` string: Whether numeric sequence detection is enabled.
        - `CHECK CONSECUTIVE SEQUENCE` string: Whether consecutive character sequence detection is enabled.
        - `CHECK KEYBOARD SEQUENCE` string: Whether keyboard pattern sequence detection is enabled.
        - `KEYBOARD LAYOUT` string: Keyboard layout used for sequence detection.
        - `CHECK OBVIOUS SUBSTITUTION` string: Whether obvious character substitution check is enabled.
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
