Update group (non-member attributes)
Use this endpoint to update the definition of a group, such as “displayname”.
Endpoint | Method |
---|---|
| PATCH |
This endpoint is a PATCH endpoint and supports 1 or more changes through a list of Operation elements
Request-object:
{
"Operations": [{
"op": "Replace",
"path": "displayName",
"value": "Updated displaynamegoeshere"
}]
}
Property | Type | Required |
|
---|---|---|---|
op | Type of operation.
| yes |
|
path | The path to the property to change | yes |
|
value | The value of the property to change. | 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": "Replace",
"path": "displayName",
"value": "Updated displaynamegoeshere"
}]
}'
Responses:
Success - 204 No-Content | |
---|---|
Statuscode | 204 |
404-Not found | |
---|---|
Statuscode | 404 |