Set Password Expiration Policy

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Sets the password expiration policy

Since: 4.4.2

Notes: Requires Artifactory Pro

Security: Requires an admin user

Usage: PUT /api/security/configuration/passwordExpirationPolicy -H "Content-type: application/json" -d ' { "enabled" : "true|false", "passwordMaxAge" : "1-999", "notifyByEmail": "true|false" }

Produces: application/json

Sample Usage:

PUT /api/security/configuration/passwordExpirationPolicy -H "Content-type: application/json" -d ' { "enabled" : "true", "passwordMaxAge" : "60", "notifyByEmail": "true" }