Update Config Field Definition
updateConfigFieldDefinitionEdit a Policy question: its label, question, section, whether it is required, and the options of a select field. A reworded question gets a new version, and a new section moves the field to that section's end. The type of a field added through the API can change while it has no answer; a field from the module template keeps its type. The answer is never changed, and a module template reinstall keeps the edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | New code, only for a field added to this automation that no Agent or Code step reads yet | |
| type | No | New value type, only for a field added through the API that has no answer yet | |
| label | No | Short name for the field, shown as its row heading | |
| roles | No | Keys of the process roles whose holders answer this question; replaces the whole list, and empty means anyone | |
| columns | No | Table fields only, while the field has no answer; replaces the whole list | |
| options | No | Select and multiSelect fields only; replaces the whole list | |
| section | No | Section to move the field to the end of, or null for none | |
| field_id | Yes | The config field's unique identifier | |
| question | No | New question; a reworded question gets a new version | |
| automation_id | Yes | The automation's unique identifier |