Update a specific segment by its ID.
cURL
curl --request PATCH \ --url https://api.useinvent.com/orgs/{org_id}/segments/{segment_id} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "color": "red" } '
{ "id": "<string>", "name": "<string>", "color": "red", "contacts_count": 123, "boards": [ { "board_id": "<string>", "board_name": "<string>", "column_id": "<string>" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Org ID
Segment ID
Schema for updating a segment
Name of the segment
1 - 128
The name of the color to use in the UI
red
orange
amber
yellow
lime
green
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose
neutral
Schema for the segment
Show child attributes
Was this page helpful?