Delete a Content Library Document

delete

/rest/api/v1.3/clDocs/{docPath}

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Content Library Documents
Type: object
Title: Content Library Documents
Show Source
Back to Top

Examples

This interface is used to delete a content library document. A successful request requires the following headers:

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>

Sample Request URL :

	/rest/api/v1.3/clDocs/contentlibrary/abn/wsrest_cl.htm
	

Sample Response: Success

  {
   "documentPath": "/contentlibrary/abn/wsrest_cl.htm",
   "content": null,
   "links":    [
     {
         "rel": "self",
         "href": "/rest/api/v1.3/clDocs/contentlibrary/abn/wsrest_cl.htm",
         "method": "DELETE"
      },
      {
         "rel": "createDocument",
         "href": "/rest/api/v1.3/clDocs",
         "method": "POST"
      }
   ]
}
	

Sample Response: Failure

    {
   "type": "",
   "title": "Document not found",
   "errorCode": "DOCUMENT_NOT_FOUND",
   "detail": "/contentlibrary/abn/wsrest_cl.htm",
   "errorDetails": []
}


     
Back to Top