Update Custom Field Definition
update_custom_field_definitionUpdate a Procore custom field definition by sending only the fields to change. Provide company_id, id, and label to get the modified definition back, with clear errors for bad tokens, permissions, or IDs.
Instructions
Updates an existing custom field definition for the specified Procore company. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "custom_field_definition" in the request payload for you. company_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified custom field definition on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, id, label. Procore API (v2.0): Company Admin > Custom - Configurable Tools. Endpoint: PATCH /rest/v2.0/companies/{company_id}/custom_field_definitions/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — custom Field Definition ID | |
| view | No | Query string parameter — controls which fields are returned for each Custom Field Definition. 'with_configurable_field_sets' additionally includes the configurable_field_sets array listing the field sets that use the defin... | |
| label | Yes | JSON request body field — the label for this Custom - Configurable Tools operation | |
| active | No | JSON request body field — whether the custom field is active or not. | |
| variant | No | JSON request body field — the variant of the Custom Field. The supported variants is dependent on the data_type. | |
| data_type | No | JSON request body field — type of Custom field | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| description | No | JSON request body field — the description for this Custom - Configurable Tools operation | |
| default_value | No | JSON request body field — the default value for the Custom Field. Only accepted for read_only rich_text fields. | |
| custom_field_lov_entries | No | JSON request body field — custom Lov Entries (selectable options) for the custom field. |