Your Turnitin guidance is moving!
We’re migrating our content to a new guides site. We plan to fully launch this new site in July. We are making changes to our structure that will help with discoverability and content searching. You can preview the new site now. To help you get up to speed with the new guidance structure, please visit our orientation page .
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.