Follow
Delete a Document or Folder (Not Yet Implemented)

NOTE The release date for this feature is yet to be determined.

Deletes a document or folder with the given ID in the external system. Deleting a folder also deletes the folder contents.

URL

PUT /delete

Query Parameters

Name  Description
documentId  The document ID to delete
folderId   The folder ID to delete

  

Response A JSON string indicating success or failure, as specified in the Error Handling section below.

Example

PUT https://www.acme.com/api/delete ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ id=1234 ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

returns


{
status: “success” 
}

returns

{
status: “failure”, error: “File not found”
}

Audited: 6/27/18

This article last updated on 2018-06-27 22:06:41 UTC