Segments
DELETE a Segment
Use this method to delete a segment from your account. Before deleting a segment, verify that the segment is not associated with a scheduled campaign.
Deleted segments do not display in the results when using the GET /segments endpoint. If you know the segment_id, you can use the GET /segments/{segment_id} endpoint to view the deleted segment's details. A segment's details are preserved for external reference purposes, such as displaying the segment name in a campaign's history. For more use case information, see Delete a Segment in the API guide.
delete/segments/{segment_id}
Path parameters
segment_idinteger required
The system generated ID that uniquely identifies the segment.
Response
The segment was successfully deleted.