GET Specific User

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: This API will fetch the user details, where id is the username.

Usage: GET /api/v1/scim/v2/Users/<id>

Produces: application/scim+json; charset=UTF-8

Header parameter:Authorization: Bearer

Sample response:

200 - OK - user exists

{
   "id": "bjensenexamplecom",
   "userName": "bjensenexamplecom",
   "active": true,
   "emails": [
       {
           "primary": true,
           "value": "bjensen@wso2.com"
       }
   ],
   "groups": [
       {
           "value": "readers"
       }
   ],
   "schemas": [
       "urn:ietf:params:scim:schemas:core:2.0:User"
   ],
   "meta": {
       "resourceType": "User"
   }
}

Sample response when user does not exist:

200 - OK - User does not exist

{
   "status": 404,
   "detail": "notexistuser isn't found",
   "schemas": [
       "urn:ietf:params:scim:api:messages:2.0:Error"
   ]
}