Delete segment
The Segmentation V2 API is in public beta. V2 segments can now be created and edited through both the UI and API.
You can see both V1 and V2 segments you have created with their contacts in the UI. While the UI only supports creation of V2 segments, you can still edit or delete either V1 or V2 segments in the UI. Both V1 and V2 segments can be exported and used as an audience for a Single Send or Automation. See the V2 Segmentation API documentation for more information.
DELETE /v3/marketing/segments/2.0/{segment_id}
Base url: https://api.sendgrid.com
The Segmentation V2 API is currently in private beta. If you'd like to be added to the beta, please fill out this form
Authentication
- API Key
Headers
Path Parameters
Responses
If the request is incorrect, an array of errors will be returned.
the field in the request body that is incorrect
a description of what is specifically wrong with the field passed in the request
If the request is incorrect, an array of errors will be returned.
the field in the request body that is incorrect
a description of what is specifically wrong with the field passed in the request
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the SendGrid tag on Stack Overflow.