Add group



Endpoint

Method

Endpoint

Method

/scim/Groups

POST

 

Request-object:

{ "externalId":"<unique-identifier-in-source-system>", "displayName": "<unique-group-name>", }

 

Property

Type

Required

 

Property

Type

Required

 

externalId

string

Yes

Id of entity in remote system.
Must be unique pr integration.

2 groups with same externalid cannot exist at the same time for the same integration

displayname

string

Yes

Name of group.
Must be unique pr integration



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

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

Conflict

Statuscode

409

Response-body: Error-details

Sample-response: