Endpoint | Method |
---|---|
| POST |
...
Code Block |
---|
{ "externalId": "<unique-identifier-in-source-system>", "userName": "<unique-email>", "active": <true|false>, "name": { "familyName": "<lastname>", "givenName": "<firstname>" }, "roles": [ { "value": "<talentech-group-identifier>" }, { "value": "<talentech-group-identifier>" } ] } |
Property | Type | Required | |
---|---|---|---|
| string | Yes | Id of entity in remote system. |
| string | Yes | Username for user. Must be unique pr integration |
| boolean | No | Activationstatus for account. |
| string | No | Lastname |
| string | No | Firstname |
| array | No | Should contain atleast 1 role in order to propegate provisioning of the user to applications |
Sample-Request:
Code Block |
---|
curl --location --request POST 'https://[API-URL]/scim/Users' \ --header 'Authorization: Bearer [AUTH-TOKEN]' \ --header 'Content-Type: application/json' \ --data-raw '{ "externalId": "16861ac5-deaa-4d66-a4cc-bc788965cc37", "userName": "username@domain.com", "active": true, "name": { "familyName": "Doe", "givenName": "John" }, "roles": [ { "value": "TalentechGroupTest1" }, { "value": "TalentechGroupTest2" } ] }' |
Responses:
User registered | |||
---|---|---|---|
Statuscode | 201 | ||
Response-body: The generated User Sample-response:
|
...