Description: Updates the password policy. It updates only the values included in the REST API call; other values will remain unaffected.
Since: Artifactory 7.125.3
Security: Requires a valid admin-scoped token.
Usage: PATCH /access/api/v1/config/security/password_policy
Produces: application/json
Sample Query:
curl --location --request PATCH 'http://localhost:8082/access/api/v1/config/security/password_policy' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"length":12
}'
Sample Response:
204 Success
Response Codes:
204 Success
404 Not found (URL might be wrong)
400 Bad request (the request body might be empty or PasswordPolicy validation failed)
500 Internal server error