/
Add group
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: {
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.8",
"title": "Conflict",
"status": 409,
"traceId": "00-2b173cd7732a264a9e6c0923774c695a-a3015397652caa47-00"
}
|
Related content
Add User
Add User
More like this
Get Group by displayname
Get Group by displayname
More like this
Get Group By Id
Get Group By Id
More like this
Update Group [Add Members]
Update Group [Add Members]
More like this
Update Group [Remove Members]
Update Group [Remove Members]
More like this
Get User By Id
Get User By Id
More like this