Endpoint | Method |
---|---|
| POST |
Request-object:
Code Block |
---|
{
"externalId":"<unique-identifier-in-source-system>",
"displayName": "<unique-group-name>",
}
|
Property | Type | Required |
|
---|---|---|---|
| string | Yes | Id of entity in remote system. 2 groups with same externalid cannot exist at the same time for the same integration |
| string | Yes | Name of group. |
Sample-Request:
Code Block |
---|
curl --location --request POST 'https://[API-URL]/Scim/Groups' \
--header 'Authorization: Bearer [AUTH-TOKEN]' \
--header 'Content-Type: application/json' \
--data-raw '{
"externalId":"d3895e27-8a8f-4864-8605-67d1dc828ef3",
"displayName": "Group1DisplayName5"
}' |
Responses:
Group created | |||
---|---|---|---|
Statuscode | 201 | ||
Response-body: The created group Sample-response:
|
Conflict | |||
---|---|---|---|
Statuscode | 409 | ||
Response-body: Error-details Sample-response:
|