[DELETE] /file
/api/dms/objects/{objectId}/contents/file
Description | To delete all the contents of the DMS object with the given objectId. The result JSON contains the new content element's information. Please note this endpoint is not available for typeless objects. Typeless objects can be deleted and recreated. Ordinarily this endpoint returns the complete loaded object back (which has then no content-streams because the content was deleted). Within the minimalResponse query parameter a HTTP/204 response can be forced on success if the complete response is not necessary. |
---|---|
Request | DELETE |
Request optional Query Parameter |
|
Response | JSON |
Minimum Version | 5.5.0 |
Request | /api/dms/objects/2563/contents/file |
Result |