delete_segment
Delete a contact segment by ID. Campaigns using that segment automatically revert to all subscribed contacts.
Instructions
Delete a segment by id. Campaigns referencing it fall back to "all subscribed contacts" — check before deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Segment id. | |
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. |