patch
https://api.safetyculture.io/assets/v1/fields/
Update specific attributes of an existing asset field using the update_mask parameter to control which properties are modified.
- If
update_mask=name, only the name is updated regardless of other values in the request body. - If
update_mask=select_options, only select options are updated. - Multiple attributes can be updated in one request using comma-separated values:
update_mask=name,select_options. - Any attributes not listed in
update_maskare ignored, even if present in the request body.
When updating select options:
- New options can be added to the
select_optionsarray. - Existing options cannot be removed or modified (to preserve data integrity on existing assets).
- Total options cannot exceed 100.
- Each new option requires a unique
idandlabel.
Requirements
Predefined fields (
FIELD_TYPE_PREDEFINED) cannot be updated. Only custom fields (FIELD_TYPE_CUSTOM) created by your organization can be modified.