Configure User Lock Policy

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.

Since: 4.4

Security: Requires a valid admin user

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

User lock policy configuration with enabled flag and login attempt threshold.

boolean

Read-only. Returned by the GET request as true when loginAttempts is greater than 0. The PUT request ignores this field. To turn the policy off, send loginAttempts 0. A PUT body of {"enabled": false} with no loginAttempts turns the policy on with 5 attempts.

integer

Number of incorrect login attempts to allow before an account is locked. Set to 0 to turn the policy off. If the PUT request omits this field, Artifactory stores 5.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json