Get Users

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Gets a list of all users in the system or a specific user

API Version: v1

Notes: This API is deprecated.

Security: Requires an admin user

Usage: GET /users

Produces: application/json

Sample Response:

[
    {
        "name": "user1",
        "password": "",
        "email": "user1@company.com",
        "admin": true,
        "blocked": false
    },
    {
        "name": "user2",
        "password": "",
        "email": "user2@company.com",
        "admin": false,
        "blocked": false
    }
]

Response Codes:

200: Success

404: Use with id {id} does not exist

500: Failed to serialize user data

500: Failed to retrieve user

500: Failed to retrieve user {id}