Remove Template Category
This API removes a category from a template. Once a category is removed, the template will not be associated with any categories, and it will be listed under "All Categories".
Endpoints
OAuth Scope
WorkDrive.libraries.categories.DELETECopied!
curl --request DELETE \
--url https://www.zohoapis.com/workdrive/api/v1/category/{category_id}/relationships/files \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/vnd.api+json' \
--data '{"data":{"attributes":{"resource_id":"ly9zm1d1ee3b833c1438a9232ad6ac77bc8f2"},"id":"ly9zm1d1ee3b833c1438a9232ad6ac77bc8f2","type":"files"}}'Path Parameters
category_idstring(Required)
The template category ID
Request Body
application/vnd.api+jsondataJSON Object(Required)
Hide Sub-Attributes
attributesJSON Object(Required)
Hide Sub-Attributes
resource_idstring(Required)
The template ID
idstring(Required)
The template ID
typestring(Required)
The JSON:API resource type. Always "files".
Allowed Values :
Show Values ▾
filesCopied!
Copy all as JSON Array
{
"data": {
"attributes": {
"resource_id": "ly9zm1d1ee3b833c1438a9232ad6ac77bc8f2"
},
"id": "ly9zm1d1ee3b833c1438a9232ad6ac77bc8f2",
"type": "files"
}
}
204 No Content© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.