Read All Password Policies

GET {{apiPath}}/environments/{{envID}}/passwordPolicies

The GET /environments/{{envID}}/passwordPolicies operation returns all password policies for the selected environment.

RESPONSES

status: OK

{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies"}},"_embedded":{"passwordPolicies":[{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies/2d940dee-0485-42b9-b6b0-9f19036f286b"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"2d940dee-0485-42b9-b6b0-9f19036f286b","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"Passphrase","description":"A policy that encourages the use of passphrases","excludesProfileData":true,"notSimilarToCurrent":true,"excludesCommonlyUsed":true,"minComplexity":7,"maxAgeDays":182,"minAgeDays":1,"history":{"count":6,"retentionDays":365},"lockout":{"failureCount":5,"durationSeconds":900},"populationCount":0,"default":false},{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies/59e7b061-faf9-46e0-81f0-11c9b05afa27"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"59e7b061-faf9-46e0-81f0-11c9b05afa27","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"Basic","description":"A relaxed standard policy to allow for maximum customer flexibility","excludesProfileData":false,"notSimilarToCurrent":false,"excludesCommonlyUsed":true,"lockout":{"failureCount":5,"durationSeconds":900},"length":{"min":8,"max":255},"minCharacters":{"~!@#$%^\u0026*()-_=+[]{}|;:,.\u003c\u003e/?":1,"0123456789":1,"ABCDEFGHIJKLMNOPQRSTUVWXYZ":1,"abcdefghijklmnopqrstuvwxyz":1},"populationCount":0,"default":false},{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies/ad53ea0b-28b3-413f-a762-46eaf929ab78"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"ad53ea0b-28b3-413f-a762-46eaf929ab78","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"Standard","description":"A standard policy that incorporates industry best practices","excludesProfileData":true,"notSimilarToCurrent":true,"excludesCommonlyUsed":true,"maxAgeDays":182,"minAgeDays":1,"maxRepeatedCharacters":2,"minUniqueCharacters":5,"history":{"count":6,"retentionDays":365},"lockout":{"failureCount":5,"durationSeconds":900},"length":{"min":8,"max":255},"minCharacters":{"~!@#$%^\u0026*()-_=+[]{}|;:,.\u003c\u003e/?":1,"0123456789":1,"ABCDEFGHIJKLMNOPQRSTUVWXYZ":1,"abcdefghijklmnopqrstuvwxyz":1},"populationCount":0,"default":true},{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies/b4ad47ae-5d8e-457e-bb1e-ceaebc7afe6f"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"b4ad47ae-5d8e-457e-bb1e-ceaebc7afe6f","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"PassphraseCustom2","description":"A policy that encourages the use of passphrases","excludesProfileData":true,"notSimilarToCurrent":true,"excludesCommonlyUsed":true,"minComplexity":7,"maxAgeDays":182,"minAgeDays":1,"history":{"count":8,"retentionDays":365},"lockout":{"failureCount":3,"durationSeconds":900},"populationCount":0,"default":false},{"_links":{"self":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/passwordPolicies/1b4a150c-783c-4037-850f-a1db582c1b83"},"environment":{"href":"https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"}},"id":"1b4a150c-783c-4037-850f-a1db582c1b83","environment":{"id":"abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"},"name":"PassphraseCustom3","description":"A policy that encourages the use of passphrases","excludesProfileData":true,"notSimilarToCurrent":true,"excludesCommonlyUsed":true,"minComplexity":7,"maxAgeDays":182,"minAgeDays":1,"history":{"count":8,"retentionDays":365},"lockout":{"failureCount":3,"durationSeconds":900},"populationCount":0,"default":false}]},"count":5,"size":5}