Trash a document
This method moves a document to the trash folder.
Method: document.trash
Arguments: sid, id
Returns: sid, api_status, response_timestamp
Errors: Returns an error if an invalid document id was passed
Message: Returns a message indicating the document was trashed. No message will be present if errors occurred
Example Request
Example Response
Trash a Folder
This method moves a folder to the trash folder group. The folder must be empty of documents.
Method: folder.trash
Arguments: sid, id
Returns: sid, api_status, response_timestamp
Errors: An error will be returned if the folder is not empty
Message: Returns a message indicating the group was deleted.
Example Request
Example Response
Was this page helpful?
We're sorry to hear that.