REST API - deleteOrphanedFolders

The tables summarize the REST API - deleteOrphanedFolders.

Request

Format DELETE <baseurl>/document/deleteorphans/<date>
Path parameters date: Case folders associated with cases that were deleted on or before this date, are deleted.
Query Parameters failures=Boolean: If true, the response includes paths to folders for which deletion failed. Default=true.

Response

JSON Returns a JSON representation of the content of the DeleteOrphanedFoldersResponse element.
XML Returns the content of the DeleteOrphanedFoldersResponse element (from the DocumentService schema).

Example

Request
DELETE <baseurl>/document/deleteorphans/2014-10-07T23:59:59
Response
{
  "xml-fragment": {
    "successCount": "3",
    "failureCount": "0"
  }
}