Description: Updates an existing Access user.
Since: 7.49.3
Authorization: Requires admin authentication using Access Tokens
Usage: PATCH /access/api/v2/users/{username}
Produces: application/json
Request:
{
"email": "string",
"password": "string",
"admin": true,
"profile_updatable": true,
"internal_password_disabled": true,
"disable_ui_access": true
}Note
All fields are optional; if a specific field is not specified the value will not change.
When
internal_password_disabled=falseand this field was true before, the ‘password” field is mandatory.
Response:
{
"username": "string",
"email": "string",
"groups": [
"string"
],
"realm": "string",
"status": "enabled",
"admin": true,
"profile_updatable": true,
"internal_password_disabled": true,
"disable_ui_access": true
}Note
From Artifactory release 7.66, the API response contains the effective_admin field to indicate if the user is an administrator, based on the user's associated groups.