Update Custom Field
This API helps in updating custom field data.
Endpoints
OAuth Scope
curl --request PATCH \
--url https://www.zohoapis.com/workdrive/api/v1/customfields/{custom_field_id} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/vnd.api+json' \
--data '{"data":{"attributes":{"display_name":"Candidate Role","field_properties":{"is_mandatory":false},"choices":[{"operation":"add","key":"Quality Analyst"},{"value":"Designer","operation":"update","key":"Designers"},{"operation":"delete","key":"Marketer"}]},"type":"customfields"}}'Path Parameters
A unique ID of the custom field.
Request Body
application/vnd.api+jsonHide Sub-Attributes
Hide Sub-Attributes
A name for the custom field.
This represents the variables used for different data types.
Refer to this table for all supported custom field data types with supported field properties.
Show Sub-Attributes
Set true to make this custom field mandatory.
This represents the list of choices for choice type custom fields (dropdown, radio, checkbox).
To add any choice to the existing choice list
Eg: {key:"choice3", "operation":"add"}
To update any existing choice in the choice list
Eg: {key:"choice1", value:"choice4","operation":"update"}
To delete any existing choice in the choice list
Eg: {key:"choice2","operation":"delete"}
Show Sub-Attributes
Updated value for the existing choice item.
Operation to apply on this choice item: add, update, or delete.
Display value for this choice item.
The JSON:API resource type. Always "customfields".
{
"data": {
"attributes": {
"display_name": "Candidate Role",
"field_properties": {
"is_mandatory": false
},
"choices": [
{
"operation": "add",
"key": "Quality Analyst"
},
{
"value": "Designer",
"operation": "update",
"key": "Designers"
},
{
"operation": "delete",
"key": "Marketer"
}
]
},
"type": "customfields"
}
}
{
"data": {
"id": "nrkroc4c5f3259e2a410da17c3915ea990dde-MjQwMDAwMDA1ODEwMDEtMjQwMDAwMDA1ODIwMDI",
"type": "customfields",
"attributes": {
"column_name": "CF61",
"index": 1,
"display_name": "Candidate Role",
"type": "dropdown",
"field_properties": {
"description": "Role of the candidate",
"is_mandatory": false,
"default_value": ""
},
"choices": [
{
"key": "Developer"
},
{
"key": "Designer"
},
{
"key": "Quality Analyst"
}
]
},
"links": {
"self": "https://www.zohoapis.com/workdrive/api/v1/customfields/nrkroc4c5f3259e2a410da17c3915ea990dde-MjQwMDAwMDA1ODEwMDEtMjQwMDAwMDA1ODIwMDI"
}
}
}
{
"errors": [
{
"id": "CF069",
"title": "Invalid or duplicate option key"
}
]
}
{
"errors": [
{
"id": "CF037",
"title": "This template is not enabled"
}
]
}
{
"errors": [
{
"id": "CF004",
"title": "Custom fields input does not match any object in db"
}
]
}
{
"errors": [
{
"id": "F000",
"title": "General Exception"
}
]
}
{
"errors": [
{
"id": "CF080",
"title": "Maximum dropdown/radio limit reached for this data template"
}
]
}
{
"errors": [
{
"id": "CF070",
"title": "Invalid operation"
}
]
}
{
"errors": [
{
"id": "CF081",
"title": "Maximum checkbox options limit reached for this data template"
}
]
}
{
"errors": [
{
"id": "CF082",
"title": "Date value cannot be in the past"
}
]
}
{
"errors": [
{
"id": "CF083",
"title": "Date value cannot be in the future"
}
]
}
{
"errors": [
{
"id": "CF051",
"title": "Empty customField Name is not allowed"
}
]
}
{
"errors": [
{
"id": "CF031",
"title": "CustomFieldName already exists in this template"
}
]
}
{
"errors": [
{
"id": "CF077",
"title": "Maximum custom field limit reached for this data template"
}
]
}
{
"errors": [
{
"id": "CF067",
"title": "Custom Fields position exceeds the limit"
}
]
}
{
"errors": [
{
"id": "CF078",
"title": "Maximum multi-line field limit reached for this data template"
}
]
}
{
"errors": [
{
"id": "CF079",
"title": "Maximum choice field (checkbox) limit reached for this data template"
}
]
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.