/
Update Group [Add Members]
Update Group [Add Members]
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.
Request-object:
{
"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 |
|
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 | |
---|---|
Statuscode | 204 |
404-Not found | |
---|---|
Statuscode | 404 |
Related content
Update Group [Remove Members]
Update Group [Remove Members]
More like this
Update group (non-member attributes)
Update group (non-member attributes)
More like this
Update (Patch) User
Update (Patch) User
More like this
Add group
Add group
More like this
Get User By Id
Get User By Id
More like this
Get Group By Id
Get Group By Id
More like this