Bulk Activities
Delete Contacts in Bulk
Use this endpoint to bulk delete contacts in an account. Contacts to delete are specified by contact_id (up to 500), or by list_id (up to 50 lists); all contacts that are members of the list_ids are deleted. Deleted contacts won’t receive email from you, and they don’t count as active contacts. Unlike unsubscribed contacts, deleted contacts can be added back to an account. Learn how to revive deleted contacts.
post/activities/contact_delete
Request body
Example request
{
"contact_ids": [
"04fe9a97-a579-43c5-bb1a-58ed29bf0a6a"
],
"list_ids": [
"04fe9a97-a579-43c5-bb1a-58ed29bf0a6a"
]
}Response
Request successful. Activity queued for processing.
Example response
{
"activity_id": "86b90820-cc52-11ea-9dad-fa163e3d9194",
"state": "initialized",
"started_at": "2016-01-23T13:48:44.108Z",
"completed_at": "2016-01-23T13:48:44.108Z",
"created_at": "2016-01-23T13:48:44.108Z",
"updated_at": "2016-01-23T13:48:44.108Z",
"percent_done": 75,
"activity_errors": [
"Message describing the error condition."
],
"status": {
"list_count": 4,
"items_total_count": 375,
"items_completed_count": 351
},
"_links": {
"self": {
"href": "/v3/activities/04fe9a97-a579-43c5-bb1a-58ed29bf0a6a"
}
}
}