Menu

Delete a segment

DELETE/v1/segments/{id}

Requires an API key with the segments:write scope. About keys and scopes

Deletes the segment definition. Contacts it matched are not affected. Refused (409 IN_USE) while a campaign, journey or other segment uses it; see its usage.

Path parameters

idstringrequired

uuid

Returns

Returns 204 No Content with an empty body. Otherwise returns an error; Errors lists every code and which to retry.