Empty Team Folder Trash
This API clears the files and folders in the Team Folder trash permanently.
Endpoints
OAuth Scope
WorkDrive.files.DELETECopied!
curl --request POST \
--url https://www.zohoapis.com/workdrive/api/v1/actions \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/vnd.api+json' \
--data '{"data":{"attributes":{"parent_id":"ly9zmacc69de0061b47ad9f09060734858fc4"},"id":"emptytrash","type":"actions"}}'Request Body
application/vnd.api+jsondataJSON Object(Required)
Hide Sub-Attributes
attributesJSON Object(Required)
Hide Sub-Attributes
parent_idstring(Required)
The unique ID of a Team Folder.
idstring(Required)
Set as "emptytrash".
typestring(Required)
The JSON:API resource type. Always "actions".
Allowed Values :
Show Values ▾
actionsCopied!
Copy all as JSON Array
{
"data": {
"attributes": {
"parent_id": "ly9zmacc69de0061b47ad9f09060734858fc4"
},
"id": "emptytrash",
"type": "actions"
}
}
{
"data": {
"id": "emptytrash",
"type": "actions",
"attributes": {
"parent_id": "ly9zmacc69de0061b47ad9f09060734858fc4"
},
"links": {
"self": "https://www.zohoapis.com/workdrive/actions/emptytrash"
}
}
}
{
"errors": [
{
"id": "T001",
"title": "No Such Team"
}
]
}
{
"errors": [
{
"id": "U001",
"title": "User not logged in. Please Log in"
}
]
}
{
"errors": [
{
"id": "F000",
"title": "General Exception"
}
]
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.