patchScimGroup
This API command and its parameters support the request to update the SCIM group in Commerce with the provided details.
Command
GET https://portalapi.commerce.ondemand.com/scim/v3/groups/{groupId}
Parameters
| Name | Required | Description |
|---|---|---|
|
groupId string (path) |
Yes |
Group ID of the SCIM group. |
|
patchBody object (body) |
No |
SCIM group that contains information about the group. |
Responses
| Code | Description |
|---|---|
| 200 | Notified
Example Value | Model {
"displayName": "ServiceGroup1",
"extensions": {
"additionalProp1": {
"attributes": {}
},
"additionalProp2": {
"attributes": {}
},
"additionalProp3": {
"attributes": {}
}
},
"externalId": "bjensen",
"id": "2819c223-7f76-453a-919d-413861904646",
"members": [
{
"$ref": "https://example.com/v2/Users/902c246b-6245-4190-8e05-00816be7344a",
"display": "Babs Jensen",
"operation": "add or remove",
"primary": true,
"type": "'work' or 'home'.",
"value": "email address, phonenumber."
}
],
"meta": {
"attributes": "",
"created": "2022-11-05T16:58:29+0000",
"lastModified": "2022-11-05T16:58:29+0000",
"location": "/uri/users/{uid}",
"resourceType": "group",
"version": "2"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
]
} |
| 204 | No Content
Example Value | Model {
"displayName": "ServiceGroup1",
"extensions": {
"additionalProp1": {
"attributes": {}
},
"additionalProp2": {
"attributes": {}
},
"additionalProp3": {
"attributes": {}
}
},
"externalId": "bjensen",
"id": "2819c223-7f76-453a-919d-413861904646",
"members": [
{
"$ref": "https://example.com/v2/Users/902c246b-6245-4190-8e05-00816be7344a",
"display": "Babs Jensen",
"operation": "add or remove",
"primary": true,
"type": "'work' or 'home'.",
"value": "email address, phonenumber."
}
],
"meta": {
"attributes": "",
"created": "2022-11-05T16:58:29+0000",
"lastModified": "2022-11-05T16:58:29+0000",
"location": "/uri/users/{uid}",
"resourceType": "group",
"version": "2"
},
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
]
} |
| 400 | Bad Request
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 401 | Unauthorized
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 403 | Forbidden
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 404 | Not Found
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 405 | Method Not allowed
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 409 | Conflict
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |
| 500 | Internal Server Error
Example Value | Model {
"errorCode": "string",
"exceptionMessage": "string",
"language": "English",
"message": "string",
"position": 1,
"reason": "string",
"subject": "string",
"subjectType": "string",
"type": "string"
} |