Follow
Delete a document or folder (Not Yet Implemented)

(Release Date - TBD) Deletes a document or folder with the given ID in the external system. Deleting a folder will also delete its 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”

}