Update segment
PATCH
https://api.flownally.com/v1/segments/{segmentId}Updates the supplied fields and leaves the others unchanged. A supplied filter replaces the
saved filter as a whole. Send the segment's current ETag in If-Match.
Authorization
Required scopes
- segment:update
Allowed roles
- owner
- admin
Update a saved contact segment.
Parameters
- Name
segmentId- Type
- path · string
- required
Segment ID.- Name
If-Match- Type
- header · string
Required to update or delete a segment. Supply one strong segmentETag, for example"seg_abc:3".
Body parameters
Send a application/json body. The body is required.
- Name
name- Type
- string
- Name
description- Type
- string
- Name
filter- Type
- ContactFilter
Responses
- 200Segment updatedapplication/json
- 412The supplied
ETagis stale (contacts_segment_revision_mismatch).application/json - 428
If-Matchis missing (gateway_segment_if_match_required).application/json - defaultErrorapplication/json
Related schemas
- ProblemDetails
- FieldViolation
- Window
- ContactFilter
- ContactCondition
- SearchTextCondition
- ArchiveStatusCondition
- ArchiveStatus
- CreatedAtCondition
- FirstSeenCondition
- LastInteractionCondition
- ChatCountCondition
- EngagementWindow
- CustomFieldTextCondition
- CustomFieldDateCondition
- HasAnyTagCondition
- HasAnyChannelCondition
- ContactChannel
- Segment
- UpdateSegmentRequest
Generated from the API spec.