Endpoint | Method |
---|---|
| POST |
{ "externalId": "<unique-identifier-in-source-system>", "userName": "<unique-email>", "active": <true|false>, "name": { "familyName": "<lastname>", "givenName": "<firstname>" } } |
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 |
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" } }' |
User registered | ||
---|---|---|
Statuscode | 201 | |
Response-body: The generated User Sample-response:
|
Conflict | ||
---|---|---|
Statuscode | 409 | |
Response-body: Error-details Sample-response:
|