Update Group [Add Members]

Use this endpoint to add a User (Member) to an existing Group

 

Endpoint

Method

Endpoint

Method

/scim/Groups/[GROUP-ID]
GROUP-ID is the identifier for the entity in Talentech

PATCH

 

 
In the sample below, 2 users are added to the group.

Request-object:

{ "Operations": [{ "op": "Add", "path": "members", "value": [ {"value": "a3792aca-8f99-4d4b-a1f2-2b31e871b634"}, {"value": "6dec03a9-dedd-4940-8763-6201761d022e"} ] }] }

 

Property

Type

Required

 

Property

Type

Required

 

op

Type of operation.
When adding users to a group, you should use:
-Add

 

yes

 

path

The path to the property to change.
When adding users to a group you should use:
-members

yes

 

value

An array of 1 or more objects containg a property called “value”, referencing a talentech-userid

yes

 



Sample-Request:

curl --location --request PATCH '[API-URL]/scim/Groups/[GROUP-ID]' \ --header 'Authorization: Bearer [API-TOKEN]' \ --header 'Content-Type: application/json' \ --data-raw '{ "Operations": [{ "op": "Add", "path": "members", "value": [ {"value": "a3792aca-8f99-4d4b-a1f2-2b31e871b634"}, {"value": "6dec03a9-dedd-4940-8763-6201761d022e"} ] }] }'

 

Responses:




Success - 204 No-Content

Success - 204 No-Content

Statuscode

204

 

404-Not found

404-Not found

Statuscode

404