REST API - deleteDocument - with a Path Parameter

The tables summarize the REST API - deleteDocument - with a path parameter.

Request - DELETE with a Path Parameter

Format DELETE <baseurl>/document/delete/<docref>
Path parameters docref: Can be obtained using getFolderContent. (Some CMIS servers use characters in document references that must be URL encoded. If you are using such a CMIS server, URL encode the document reference, or use the alternative DELETE method with a request body.)

Response - DELETE with a Path Parameter

JSON Returns a JSON representation of the content of the DeleteDocumentResponse element.
XML Returns the content of the DeleteDocumentResponse element (from the DocumentService schema).

Example - DELETE with a Path Parameter

Request
DELETE <baseurl>/document/delete/DocumentID-64195ab9-5658-4efb-8a53-f432cd7845e5%3B1.0
Response
<?xml version="1.0" encoding="UTF-8" ?>
	<xml-fragment />