✉ MailCraft API Reference

Contacts

Remove contact from list

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

Removes the membership. Idempotent, 204.

Path Parameters

Notes

204 with an empty body. Idempotent: removing a contact that is not on the list also returns 204. The error case for an unknown contact/list was not probed live (verify live); the same ids on POST return 404 NotFound, see add-to-list.json.

Errors

Standard errors apply — see Errors.

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