Skip to main content

Retrieve a User

Retrieve a User by ID.

GET
/api/scim/v2/Users/{id}

Headers

KeyValue
Acceptapplication/json
AuthorizationBearer <API Token>

Path Parameter

  • id (required): User ID to retrieve the specific user.

Example cURL

curl --location 'http://localhost:8080/api/scim/v2/Users/563505' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'

Responses

Status CodeDescriptionResponse
200User retrieved successfullyapplication/json
400Invalid Requestempty
401Unauthorizedempty
500Internal Server Errorempty

Sample response

200 : User retrieved successfully

{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"id": "563505",
"userName": "newuser@example.com",
"active": true,
"emails": [
{
"value": "newuser@example.com",
"primary": true
}
],
"profileUrl": "https://example.com/user/newuser"
}