Delete a content library media file
Use this interface to delete a content library media item.
Service URL:
/rest/api/v1.3/clItems/{itemPath}
Required Path Parameter:
itemPath
Request Method:
DELETE
Request Header:
Authorization=<AUTH_TOKEN>
Request Body:
None
Sample Response in case of 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 in case of failure:
{
"type": "",
"title": "Document not found",
"errorCode": "DOCUMENT_NOT_FOUND",
"detail": "Document not found:/contentlibrary/abn/testcreate_50.png",
"errorDetails": []
}