Get User Details

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Returns the user's details based on the username.

Since: 7.49.3

Authorization: Requires admin authentication using Access Tokens

Usage: GET /access/api/v2/users/{username}

Produces: application/json

Sample 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.

Response Codes:

  • 200: Successful

  • 400: Invalid input, object invalid

  • 401: Invalid credentials

  • 403: Insufficient permissions

  • 404: Username not found