Update a segment

Update selected fields on one segment. Fields omitted from the request remain unchanged.

A segment stores criteria for selecting workers. Use the segment-members endpoint to retrieve the workers who match; the segment record itself is not a list of workers.

Path Params
uuid
required

segment unique identifier

Body Params
string
required
string
string
string
string
reference
object

For automatic segments, set a reference to make it easier to retrieve/update/delete when that reference changes

uuid
subscriptions
array of objects
subscriptions
string
enum
Allowed:
boolean
Defaults to false

if true, will match worker even if they have the property segmentEnabled to true

dynamicFilters
object | null
observerRecurrence
object | null
boolean
Defaults to false

when enabled, this is meant to be a template/blueprint for actual observerSegments

baseObserverSegmentUuids
array of uuids
baseObserverSegmentUuids
string
Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json