In dynamic environments, teams often need to update the labeling and order of dependent custom fields to keep runbooks clear and organized. Using the Cutover Public API, you can retrieve the parent field, identify dependent field IDs, and update their display name and order to control how attributes appear to users.
1.Retrieve the parent custom field
Identify the parent field to locate the dependent field. Use the following request:
GET /custom_fields/647
Authorization: Bearer <your_api_token>
2.Identify the dependent custom field ID
In the parent custom field’s JSON response, locate the child field you want to update.
{
"data": {
"id": "647",
"type": "custom_field",
"relationships": {
"dependent_custom_fields": {
"data": [
{ "id": "648", "type": "custom_field" },
{ "id": "649", "type": "custom_field" } // <-- Use this ID
]
}
}
}
}
3.Update the dependent field's name and order
Use the dependent field’s ID to send the update request.
{
"display_name": "Renamed RTO Field",
"order": 2
}
Notes:
4.Verify the change
After the API call succeeds:
Best practices