cURL
curl --request PATCH \ --url https://api.attention.tech/v2/scim/Groups/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { "op": "add", "path": "members", "value": [ { "value": "5b3680ed-0bed-4c98-af91-e75c3f384b15", "display": "[email protected]" } ] } ] } '
{ "id": "1001", "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:okta:custom:group:1.0" ], "displayName": "firstGroup", "members": [ { "value": "101", "display": "okta" } ], "urn:okta:custom:group:1.0": { "description": "This is the first group" } }
Partially updates a group using SCIM patch semantics.
SCIM ID of the group
[ "urn:ietf:params:scim:api:messages:2.0:PatchOp"]
Show child attributes
add
remove
replace
"add"
"members"
Group patched successfully
"1001"
[ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:okta:custom:group:1.0"]
"firstGroup"
"724b985e-5053-4d9d-b8c5-7f2941b60c26"
"[email protected]"
[{ "value": "101", "display": "okta" }]
"This is the first group"
Was this page helpful?