Segments
List what uses a segment
GET/v1/segments/{id}/usage
Requires an API key with the segments:read scope. About keys and scopes
Campaigns whose audience is this segment or whose rules name it, journeys whose rules or steps name it, and other segments whose rules name it. While any is listed, deleting the segment is refused (409 IN_USE, with this usage in details).
Path parameters
idstringrequireduuid
Returns
Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.
campaignsobject[]required2 child attributes
idstringrequireduuid
namestringrequired
journeysobject[]required2 child attributes
idstringrequireduuid
namestringrequired
segmentsobject[]required2 child attributes
idstringrequireduuid
namestringrequired