Actions31
Field → Update
AI-generatedSummary
Updates a field in a Laposta list.
Inputs
- listId (required) — The ID of the list to which the field belongs
- fieldId (required) — The ID of the field to update
- updateFields — Fields to update on the Laposta field; supported options include datatype, datatype_display, defaultvalue, required, in_form, in_list, and name. Changing datatype deletes all existing data for this field.
Output shape
{ json: updated field object from Laposta API }
The operation sends a POST request to /field/{fieldId} with query parameter list_id={listId} and a body merged from the provided updateFields. The node returns the API response as JSON data.
Examples
Example 1: Update a field's data type and default value
listId: '123', fieldId: '456', updateFields: { datatype: 'select_single', defaultvalue: 'pending', required: true }