Delete a document or folder (Not yet implemented)

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.example.com/api/delete­­­­­­­­­­­­­­­­­­­­­­­­­­­­­id=1234 ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

  • ­returns status: "success"

  • returns status: "failure", error: "File not found"

recommendation-more-help
5f00cc6b-2202-40d6-bcd0-3ee0c2316b43