provider Segmenting Contacts POST /marketing/segments/delete
@utdk/sendgrid /marketing/segments/delete
Bulk Delete Segments
This endpoint allows you to delete segments in bulk. If the segments are used by automations or the segments do not exist in the database, the segment IDs that could not be deleted along with automation IDs that are associated to those segments will be returned.

Try it

Authentication
Configure credentials for Email Activity (beta)
postMarketingSegmentsDelete
POST/marketing/segments/delete
This endpoint allows you to delete segments in bulk. If the segments are used by automations or the segments do not exist in the database, the segment IDs that could not be deleted along with automation IDs that are associated to those segments will be returned.

Input

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.postMarketingSegmentsDelete()