Delete a contact
Deletes the contact and its segment memberships. Its emails stay in the log; pass erase=true to also scrub the address from email history, event payloads and API logs.
Authorization
apiKey An API key from the dashboard (ms_…), sent as Authorization: Bearer. A sending-only key reaches the /emails routes only.
In: header
Path Parameters
1 <= lengthQuery Parameters
MepMail extension. true also erases the address from email history, event payloads and API logs (a GDPR/LGPD erasure); by default the send log is kept and ages out with the team's retention window
Value in
- "true"
- "false"
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/contacts/string"{ "object": "contact", "contact": "ae2014de-c168-4c61-8267-70d2662a1ce1", "deleted": true}Delete contacts in bulk POST
MepMail extension (Resend deletes contacts one at a time): deletes up to 1000 contacts by id or by email address in one request and lists the rows actually deleted; unknown ids or addresses are ski…
Retrieve a contact GET
Returns one contact by id or email address, with its properties.