Move Document to Trash
Moves a document to the Trash.
Endpoints
OAuth Scope
ZohoWriter.documentEditor.ALL, WorkDrive.files.ALL, WorkDrive.organization.ALL, WorkDrive.workspace.ALLCopied!
curl --request DELETE \
--url https://www.zohoapis.com/writer/api/v1/documents/a1b2c3d4e5f6g7h8i9/trash \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Path Parameters
document_idstring(Required)
The unique ID of the document to move to Trash.
{
"result": "success",
"message": "Document has been trashed successfully.",
"retention_data": {
"trash_retention_days": 30,
"delete_retention_days": 60
}
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.