ESTAGE Support
IdeasMy tickets

Remove one contact from a list

Permission lists:writeRate limit writesIdempotent with Idempotency-Key

Deletes the contact's membership of the list (not an unsubscribe). removed is 1, or 0 when the contact was not on the list or is not a contact of this project.

DELETEhttps://api.estage.com/v1/lists/{id}/contacts/{contactId}

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

idintegerrequired
contactIdintegerrequired

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
curl --request DELETE \
  --url 'https://api.estage.com/v1/lists/list-id/contacts/contact-id' \
  --header 'ESTAGE-API-Key: est_live_your-api-key' \
  --header 'Idempotency-Key: your-unique-key'
OK
{
  "data": {
    "removed": 1
  }
}
Example. Errors are { error: { code, message, details } }.