Delete a Content Library Media File

delete

/rest/api/v1.3/clItems/{itemPath}

Request

Path Parameters
Back to Top

Response

Supported Media Types

Default Response

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

Examples

Tip:

Need Higher API Call Limits? We have an API on Asynchronous API with the same functionality. Please use the Asynchronous Delete Content Library Items API.

This interface is used to delete a content library media item.

A successful request requires the following headers:

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>

Sample Request URL :

/rest/api/v1.3/clItems/contentlibrary/abn/testcreate_50.png
	

Sample Response: Success

 {
   "itemPath": "/contentlibrary/abn/testcreate_50.png",
   "itemData": null,
   "links":    [
            {
         "rel": "self",
         "href": "/rest/api/v1.3/clItems/contentlibrary/abn/testcreate_50.png",
         "method": "DELETE"
      },
            {
         "rel": "createContentLibraryItem",
         "href": "/rest/api/v1.3/clItems",
         "method": "POST"
      }
   ]
}


	

Sample Response: Failure

   {
   "type": "",
   "title": "Document not found",
   "errorCode": "DOCUMENT_NOT_FOUND",
   "detail": "Document not found:/contentlibrary/abn/testcreate_50.png",
   "errorDetails": []
}
	
Back to Top