The POST /users/self/changePasswordpasswordPolicy
endpoint gets a list of password policy rules for the user making the request.
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -L -X GET "https://***.api.newvoicemedia.com/useradmin/users/self/passwordPolicy" \ -H "Accept: application/vnd.newvoicemedia.v4+json" \ -H "Authorization: Bearer <ACCESS_TOKEN>" |
Responses
Responses contain a list of all password policy rules for requesting user.
Successful response
Successful requests return a 200 Success
code and the created user.
Example response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "expires": true, "expiresAfterDays": 30, "rules": { "minLength": 4, "minLowerCase": 1, "minUpperCase": 1, "minDigits": 1, "minSpecialChars": 1 }, "changeable": true } |
...