Delete an ObjectGroupCollection
With this method, you delete an ObjectGroupCollection header with the specified ID.
This method deletes the ObjectGroupCollection header physically. After the successful deletion, it is not possible to restore the deleted object. All ObjectGroupCollectionItem elements that are referring to the deleted header are automatically deleted by the system to preserve data integrity (cascaded deletion).
If the ObjectGroupCollection header is successfully deleted, the server sends HTTP response code 204. Any other code indicates an error.
Request
URI: /ObjectGroupCollections('ID')
HTTP Method: DELETE
Permissions: <auth>.d
Request Header Fields
| Header | Required | Values |
|---|---|---|
| If-match | Yes | Check if cached version matches server version of the ObjectGroupCollection header |
Query String Parameters
| Parameter | Required | Data Type | Description | Parameter Type |
|---|---|---|---|---|
| ID | Yes | string | unique identifier of the ObjectGroupCollection header | Path |
Request Example
/ObjectGroupCollections('8c0b596b1bd340d3ac7b0072ffb5c8bd')
Deletes the ObjectGroupCollection header with the specified ID.
Response
Response Status and Error Codes
| Code | Description |
|---|---|
| 204 | ObjectGroupCollection header deleted successfully |