Get
/api/v1/pw.getPolicy
Get the current password policy for users in your workspace.
The pw.getPolicyReset
endpoint has been removed from 7.0. Use this endpoint instead.
Header parameters
X-User-Id
stringRequired
The user ID.
ExampleCkCPNctrgCDfmWLqC
X-Auth-Token
stringRequired
The authentication token.
Example1Dd4iN_ClKn5jl-xPC36snQ4s9Zd5GZnXCQuCNSKcVE
Responses
200
OK
Success
{
"enabled": true,
"policy": [
[
"get-password-policy-minLength",
{
"minLength": 7
}
],
[
"get-password-policy-forbidRepeatingCharacters"
],
[
"get-password-policy-forbidRepeatingCharactersCount",
{
"forbidRepeatingCharactersCount": 3
}
],
[
"get-password-policy-mustContainAtLeastOneLowercase"
],
[
"get-password-policy-mustContainAtLeastOneUppercase"
],
[
"get-password-policy-mustContainAtLeastOneNumber"
],
[
"get-password-policy-mustContainAtLeastOneSpecialCharacter"
]
],
"success": true
}
object