Rename Category
This API renames a template category.
Endpoints
OAuth Scope
WorkDrive.libraries.categories.UPDATECopied!
curl --request PATCH \
--url https://www.zohoapis.com/workdrive/api/v1/category/{category_id} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/vnd.api+json' \
--data '{"data":{"attributes":{"category_name":"Marketing"},"type":"category"}}'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
category_namestring(Required)
The new name of the category
typestring(Required)
The JSON:API resource type. Always "category".
Allowed Values :
Show Values ▾
categoryCopied!
Copy all as JSON Array
{
"data": {
"attributes": {
"category_name": "Marketing"
},
"type": "category"
}
}
{
"data": {
"id": "ntp2ode5ad3a2eb054a0c845a24f2381852c9",
"type": "category",
"attributes": {
"category_name": "My Category",
"library_id": "ntp2oe1674ac34a8f429aa9ad52e2c55de8a8",
"status": 1
},
"links": {
"self": "https://www.zohoapis.com/workdrive/api/v1/category/ntp2ode5ad3a2eb054a0c845a24f2381852c9"
}
}
}
{
"errors": [
{
"id": "TL001",
"title": "Unable to create Template Category"
}
]
}
{
"errors": [
{
"id": "F000",
"title": "Generic server-side failure"
}
]
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.