Delete a mailing list

DELETE https://api.tamio.com/v2/mailing-lists/{uuid}

Permanently deletes a mailing list. This removes the list configuration but does not affect the underlying subscribers who may still exist in other lists or as individual contacts.

Path Parameters

uuid string*

UUID of the mailing list to delete

Responses

200 Mailing list deleted successfully

Mailing list deleted successfully

status integer
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/mailing-lists/{uuid}
1const response = await fetch("https://api.tamio.com/v2/mailing-lists/{uuid}", {
2 method: "DELETE",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200
}