curl --request POST \
--url https://api.hubapi.com/contacts/v1/lists/{list_id}/remove \
--header 'Content-Type: application/json' \
--data '
{
"vids": [
123
],
"emails": [
"<string>"
]
}
'{
"updated": [
123
],
"discarded": [
123
],
"invalidVids": [
123
],
"invalidEmails": [
"<string>"
]
}Remove a contact record that has already been created in the system from a contact list. Note that you cannot manually remove contacts from dynamic lists - they can only be updated by the contacts system based on the properties of the list itself.
curl --request POST \
--url https://api.hubapi.com/contacts/v1/lists/{list_id}/remove \
--header 'Content-Type: application/json' \
--data '
{
"vids": [
123
],
"emails": [
"<string>"
]
}
'{
"updated": [
123
],
"discarded": [
123
],
"invalidVids": [
123
],
"invalidEmails": [
"<string>"
]
}The list ID for the list you're removing the contact from.
Was this page helpful?