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
Credentials
OAuth2
Click Try It! to start a request and see the response here!