Laposta icon

Laposta

Interact with Laposta API

Segment → Update

AI-generated

Summary

Update a segment's name and/or definition

Inputs

  • listId (required) — The ID of the list to which the segment belongs
  • segmentId (required) — The ID of the segment
  • updateFields — Fields to update on the segment

Output shape

The Laposta API response containing the updated segment object

Returned as the node's primary JSON output

Examples

Example 1: Rename a segment and update its definition

Set List ID to the target list's ID, Segment ID to the segment's ID, and Update Fields with the new name and a JSON definition

Links

Discussion