Add group
Endpoint | Method |
---|---|
| POST |
Request-object:
{
"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:
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: {
"meta": {
"resourceType": "Group"
},
"displayName": "Group1DisplayName5",
"externalId": "c9f1b0f6-2519-44ad-8325-58329757208d",
"id": "e90bcf88-0855-4473-b2b1-f64e13b7f391",
"schemas": []
}
|
Conflict | |
---|---|
Statuscode | 409 |
Response-body: Error-details Sample-response:
|