Delete a segment

DELETE https://api.sendgrid.com/v3/contactdb/segments/:segment_id?delete_contacts={{delete_contacts}}

This endpoint allows you to delete a segment from your recipients database.

You also have the option to delete all the contacts from your Marketing Campaigns recipient database who were in this segment.

The Contacts API helps you manage your Marketing Campaigns recipients.

For more information about segments in Marketing Campaigns, please see our User Guide.

Request Params

KeyDatatypeRequiredDescription
delete_contactsstring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring