cURL
curl --request PATCH \ --url http://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": "john.doe@example.com" } ] } ] }'
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:okta:custom:group:1.0" ], "displayName": "firstGroup", "id": "1001", "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
Group patched successfully
"1001"
[ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:okta:custom:group:1.0"]
"firstGroup"
[{ "value": "101", "display": "okta" }]
Was this page helpful?