## Delete Mailing List `print_mail.mailing_lists.delete(strid) -> MailingListDeleteResponse` **delete** `/print-mail/v1/mailing_lists/{id}` Delete a mailing list. This permanently deletes the mailing list and its associations. This operation cannot be undone. ### Parameters - `id: str` ### Returns - `class MailingListDeleteResponse: …` - `id: str` A unique ID prefixed with mailing_list_ - `deleted: Literal[true]` - `true` ### Example ```python 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 = client.print_mail.mailing_lists.delete( "id", ) print(mailing_list.id) ``` #### Response ```json { "id": "mailing_list_sqF12lZ1VlBb", "deleted": true } ```