Menu

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

idstringrequired

uuid

Returns

Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.

campaignsobject[]required
2 child attributes
idstringrequired

uuid

namestringrequired
journeysobject[]required
2 child attributes
idstringrequired

uuid

namestringrequired
segmentsobject[]required
2 child attributes
idstringrequired

uuid

namestringrequired