✉ MailCraft API Reference

Contacts

Delete contact

Verified
DELETE/api/v1/contacts/{id|email}

Deletes a contact. Returns 204 with no body.

Path Parameters

Notes

Id or email. Success is 204 with an empty body; a second delete is 404.

Errors

StatusCaseBody
404error{"error": {"code": "NotFound", "message": "Contact not found."}}

Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.