MillionSend Docs

/audiences/{audienceId}/contacts/{id}

DELETE
/audiences/{audienceId}/contacts/{id}

Path Parameters

audienceId*string
Formatuuid
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/audiences/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts/string'
Example Response
{  "object": "contact",  "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4",  "deleted": true}