Delete Content Library Folder

delete

/rest/api/v1.3/clFolders/{folderPath}

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : Content Library Folders
Type: object
Title: Content Library Folders
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 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": []
}


     
Back to Top