Skip to main content

DELETE /lists/:list_id

URL: https://api.courier.com/lists/:list_id

Method: DELETE

Path Parameters

list_idstringrequired
A unique identifier associated with the list you wish to retrieve.

Responses

status: 204 Successfully deleted

status: 404 Not Found

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.

Request Example

curl --request DELETE \
--url https://api.courier.com/lists/example.list.id \
--header 'Accept: application/json'

Responses Example

Empty
{
"message": "Not Found",
"type": "invalid_request_error"
}