Delete a contact

DELETE
/lists/list/{listId}/rows/{leadId}

Permanently deletes a contact and its company row. The contact can live in the list or in a list linked to it. It is removed from the campaigns that reference it, the list counters are decremented and the campaigns using the list are resynchronized. This cannot be undone. A second call for the same contact returns 404.

Find the leadId with the exact lookup of GET /lists/list/{listId}/rows. Company-only rows (co: ids) cannot be deleted with this route.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Path Parameters

listId*string

List id.

Match^[0-9a-fA-F]{24}$
leadId*string

Contact id.

Match^[0-9a-fA-F]{24}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/lists/list/65f1a2b3c4d5e6f760f68df4/rows/65f1a2b3c4d5e6f7af1c3d42" \  -H "Authorization: YOUR_API_KEY"
{  "success": true}