Delete content library folder
Use this interface to delete a content library folder.
Service URL:
/rest/api/v1.3/clFolders/{folderPath}
Required Path Parameter:
folderPath
Request Method:
DELETE
Request Header:
Authorization=<AUTH_TOKEN>
Request Body:
None
Sample Response in case of success:
{
"folderPath": "/contentlibrary/abn/f1/f2/f3",
"links": [
{
"rel": "self",
"href": "/rest/api/v1.3/clFolders/contentlibrary/abn/f1/f2/f3",
"method": "DELETE"
},
{
"rel": "createContentLibraryFolder",
"href": "/rest/api/v1.3/clFolders",
"method": "POST"
}
]
}
Sample Response in case of failure:
{
"type": "",
"title": "Folder not found",
"errorCode": "FOLDER_NOT_FOUND",
"detail": "/contentlibrary/abn/f1/f2/f3",
"errorDetails": []
}