---
updatedAt: 2026-03-01T18:45:39.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/iam-api/v2/llms.txt
---

# View password policy for a user profile

Return the password policy for the current account. The current account is determined by the tokens in your API client. Users can run this operation to modify their own profile's password policy.  Administrators who modify a user's profile should run the [View password policy](ref:get-common-password-policy) operation.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Identity and Access Management API",
    "url": "https://techdocs.akamai.com/iam-user-admin/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Common resources, for users",
    "version": "2"
  },
  "openapi": "3.0.0",
  "paths": {
    "/user-profile/common/password-policy": {
      "get": {
        "description": "Return the password policy for the current account. The current account is determined by the tokens in your API client. Users can run this operation to modify their own profile's password policy.  Administrators who modify a user's profile should run the [View password policy](https://techdocs.akamai.com/iam-api/reference/get-common-password-policy) operation.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Identity and Access Management API",
          "url": "https://techdocs.akamai.com/iam-user-admin/reference/get-user-password-policy"
        },
        "operationId": "get-user-password-policy",
        "parameters": [
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "caseDif": 0,
                  "maxRepeating": 2,
                  "minDigits": 1,
                  "minLength": 8,
                  "minLetters": 1,
                  "minNonAlpha": 0,
                  "minReuse": 4,
                  "pwclass": "aka90",
                  "rotateFrequency": 90
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Encapsulates all information for a password policy.",
                  "properties": {
                    "caseDif": {
                      "description": "The minimum number of characters with a different case. For example, a value of 1 means at least one letter needs to be uppercase if the rest are lowercase.",
                      "type": "integer"
                    },
                    "maxRepeating": {
                      "description": "The maximum allowed number of repeating characters.",
                      "type": "integer"
                    },
                    "minDigits": {
                      "description": "The minimum number of digits in a password.",
                      "type": "integer"
                    },
                    "minLength": {
                      "description": "The minimum length of a password.",
                      "type": "integer"
                    },
                    "minLetters": {
                      "description": "The minimum number of letters in a password.",
                      "type": "integer"
                    },
                    "minNonAlpha": {
                      "description": "The minimum number of non-alphabetic characters in a password.",
                      "type": "integer"
                    },
                    "minReuse": {
                      "description": "The minimum number of previous passwords to retain to prevent password reuse.",
                      "type": "integer"
                    },
                    "pwclass": {
                      "description": "A unique identifier for a password policy.",
                      "type": "string"
                    },
                    "rotateFrequency": {
                      "description": "The number of days a password is valid.",
                      "type": "integer"
                    }
                  },
                  "required": [
                    "pwclass",
                    "minLength",
                    "minLetters",
                    "minDigits",
                    "caseDif",
                    "minNonAlpha",
                    "maxRepeating",
                    "minReuse"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/PortalPasswordClass.yaml"
                  }
                }
              }
            },
            "description": "The response returns the password policy."
          }
        },
        "summary": "View password policy for a user profile",
        "tags": [
          "Policies"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/identity-management/v2"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "user-profile-common-api.yaml"
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [View timeout policies for a user profile](https://techdocs.akamai.com/iam-api/v2/reference/get-user-timeout-policies.md)