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