Contacts API - Lists
Elements that can be shared among more than one endpoint definition.
Delete a List
DELETE /v3/contactdb/lists/{list_id}
Base url: https://api.sendgrid.com
This endpoint allows you to delete a specific recipient list with the given ID.
Authentication
- API Key
Headers
Request Body
Path Parameters
Query String
Adds the ability to delete all contacts on the list in addition to deleting the list.
default: NoneResponses
the error message
the field that generated the error
helper text or docs for troubleshooting
{
"errors": [
{
"field": "field_name",
"message": "error message"
}
]
}
the error message
the field that generated the error
helper text or docs for troubleshooting
{
"errors": [
{
"field": "field_name",
"message": "error message"
}
]
}
the error message
the field that generated the error
helper text or docs for troubleshooting
{
"errors": [
{
"field": "field_name",
"message": "error message"
}
]
}
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.