Retrieve a User
Retrieve a User by ID.
GET
/api/scim/v2/Users/{id}
Headers
| Key | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <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 Code | Description | Response |
|---|---|---|
| 200 | User retrieved successfully | application/json |
| 400 | Invalid Request | empty |
| 401 | Unauthorized | empty |
| 500 | Internal Server Error | empty |
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"
}