MillionSend Docs

/contacts/{id}

DELETE
/contacts/{id}

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.

Path Parameters

id*string
Length1 <= length

Query Parameters

erase?string

MillionSend 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

Contact deleted

application/json
  1. response
object*"contact"
Value in"contact"
contact*string
Formatuuid
deleted*true
Value intrue
Example Request
curl -X DELETE 'https://api.millionsend.com/contacts/string'
Example Response
{  "object": "contact",  "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4",  "deleted": true}