Update a property field
PATCH/api/v4/properties/groups/:group_name/:object_type/fields/:field_id
Partially update a property field by providing only the fields you want to update. Omitted fields will not be updated. The attrs object uses merge semantics: only the keys present in the patch are updated; omitted keys are preserved. Setting a key to null removes it from attrs.
Immutable fields: target_type, target_id, and object_type cannot be changed after creation and are ignored if included in the patch.
Linked fields: Fields with a linked_field_id cannot have their type or attrs.options modified (returns 400). The linked_field_id can only be cleared (set to empty string “”) to unlink the field; it cannot be changed to a different value. For non-linked fields, linked_field_id cannot be set to a new value (linking is only allowed at creation time).
Propagation: When a template field's options are updated, the changes propagate atomically to all fields that link to it.
Minimum server version: 11.7
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 501
Property field update successful
Invalid patch. Also returned for an option list sent for a field with more than 1000 options; change its options through the property field options endpoints instead.
No access token provided
Do not have appropriate permissions
Resource not found
Name conflict with an existing field, or cannot change type of a field that has active linked dependents.
In the access_control group, the new name isn't a valid identifier.
Feature is disabled