Delete a segment

Using the SDK

api.segment.delete(
    list_id=<list ID>,
    segment_id=<segment ID>
)
<?php

$api->segment->delete([
    'list_id' => <list ID>,
    'segment_id' => <segment ID>
]);
Language
Authentication
OAuth2
Click Try It! to start a request and see the response here!