Get User By Id
Endpoint | Method |
---|---|
USER-ID is the identifier for the entity in Talentech | GET |
Sample-Request:
curl --location --request GET '[API-URL]/scim/Users/[USER-ID]' \
--header 'Authorization: Bearer [AUTH-TOKEN]'
Responses:
200-OK | |
---|---|
Statuscode | 200 |
Sample response: {
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {},
"active": true,
"meta": {
"resourceType": "User"
},
"name": {
"familyName": "NewLastname",
"givenName": "NewFirstname"
},
"userName": "newUsername@domain.com",
"externalId": "externalId-changed",
"id": "a3792aca-8f99-4d4b-a1f2-2b31e871b634",
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
]
}
|
404-NotFound | |
---|---|
Statuscode | 404 |
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.4",
"title": "Not Found",
"status": 404,
"traceId": "00-2ebdafb4662f7f46ad705ac722666406-e77eac87f82ab245-00"
}
|