Use this endpoint to add a User (Member) to an existing Group
Endpoint | Method |
---|---|
| PATCH |
In the sample below, 2 users are added to the group.
{ "Operations": [{ "op": "Add", "path": "members", "value": [ {"value": "a3792aca-8f99-4d4b-a1f2-2b31e871b634"}, {"value": "6dec03a9-dedd-4940-8763-6201761d022e"} ] }] } |
Property | Type | Required |
|
---|---|---|---|
op | Type of operation.
| yes | |
path | The path to the property to change. | yes |
|
value | An array of 1 or more objects containg a property called “value”, referencing a talentech-userid | yes |
|
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"} ] }] }' |
Success - 204 No-Content | |
---|---|
Statuscode | 204 |
404-Not found | |
---|---|
Statuscode | 404 |