provider segmenting contactsSegmenting Contacts DELETE
/marketing/segments/{segment_id} @utdk/sendgrid
/marketing/segments/{segment_id} Delete Segment
**This endpoint allows you to delete a segment by `segment_id`.**
Note that deleting a segment does not delete the contacts associated with the segment by default. Contacts associated with a deleted segment will remain in your list of all contacts and any other segments they belong to.
- segment_id path required
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.deleteMarketingSegmentsSegmentId()