Configure User Lock Policy

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Configures the user lock policy that locks users out of their account if the number of repeated incorrect login attempts exceeds the configured maximum allowed.

Security: Requires a valid admin user

Usage: PUT /api/security/userLockPolicy

Produces: application/text

Since: 4.4

Sample usage:

PUT http://{host}:{port}/artifactory/api/security/userLockPolicy -H 'Content-Type: application/json'-d '
{ 
   "enabled" : true|false, 
   "loginAttempts" : {value} 
}'