Skip to main content
PATCH
Update a segment

Authorizations

Authorization
string
header
required

Your API key (as_live_…), created under Settings → API keys.

Path Parameters

id
string
required

The resource's unique id (UUID).

Body

application/json
name
string
accept_orphans
boolean
definition
object

Rule set for the audience. Conditions combine within a group by match (all = AND, any = OR); groups combine the same way.

Example:

Response

One segment.

ok
boolean
Example:

true

segment
object

A saved, rule-based audience.