Delete Mailing List Import
print_mail.mailing_list_imports.delete(strid) -> MailingListImportDeleteResponse
DELETE/print-mail/v1/mailing_list_imports/{id}
Delete a mailing list import.
This permanently deletes the import and its associated resources. This operation cannot be undone.
Delete Mailing List Import
import os
from postgrid import PostGrid
client = PostGrid(
print_mail_api_key=os.environ.get("POSTGRID_PRINT_MAIL_API_KEY"), # This is the default and can be omitted
)
mailing_list_import = client.print_mail.mailing_list_imports.delete(
"id",
)
print(mailing_list_import.id){
"id": "mailing_list_import_123",
"deleted": true
}Returns Examples
{
"id": "mailing_list_import_123",
"deleted": true
}