Delete Content Library Folder
delete
/rest/api/v1.3/clFolders/{folderPath}
Request
Path Parameters
-
folderPath: string
The complete path of the folder starting with /contentlibrary.
Response
Default Response
Root Schema : Content Library Folders
Type:
objectTitle:
Show Source
Content Library Folders-
folderPath:
string
The complete path of the folder starting with /contentlibrary.
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 Folders API.This interface is used to delete a content library folder.
A successful request requires the following headers:
| FIELDS | DESCRIPTION |
|---|---|
| Authorization | <AUTH_TOKEN> |
Sample Request URL:
/rest/api/v1.3/clFolders/contentlibrary/abn/f1/f2/f3
Sample Response: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: Failure
{
"type": "",
"title": "Folder not found",
"errorCode": "FOLDER_NOT_FOUND",
"detail": "/contentlibrary/abn/f1/f2/f3",
"errorDetails": []
}