DELETE /api/dms/objects
As of Version | product version 2021 Winter | component version 2021 Winter |
---|---|
Request Method | DELETE |
Response Format | JSON |
Required Permission | action delete >> Roles and Role Sets |
Description | Deletes multiple objects specified by ID in the JSON request body. A The number of objects that can be deleted via this endpoint is limited to 100. If other properties beside |
Request Header | Content-Type: application/json |
Request Example | The object IDs of the objects to be deleted are passed in the request body in JSON format. { "objects": [{ "properties": { "system:objectId": { "value": "cdc7095f-a5ce-486d-92a7-6d0955d969ee" } } }, { "properties": { "system:objectId": { "value": "cdc7106f-a5ce-597d-92a7-1d1166d171ee" } } }] } |
Result Example | no result |
Response | Meaning of the response status codes: 200 OKAll DMS objects were deleted. 403 ForbiddenInsufficient permissions for at least one object. 404 Not FoundAt least one of the specified objects cannot be found. 409 ConflictAt least one of the specified objects cannot be deleted due to retention (for more details click here). |