Remove profiles from a list
POST
/lists/{id}/profiles/removeUp to 1,000 profiles per request, each named by id or email. A POST rather than a DELETE with a body, which many HTTP clients and proxies drop. Removing is idempotent.
Permission: lists:write · on the API key screen: Lists → Full access · All permissions
Path parameters
idstringrequiredThe id of the list.
Body parameters
profilesobject[]requiredAt most 1000 items.
Show propertiesHide properties
idstringAt most 2,000 characters.
external_idstringAt least 1 characters. At most 255 characters.
emailstringAt most 254 characters.
Response
changednumberrequirednot_foundnumberrequiredunsubscribednumberrequiredProfiles that were NOT added because the person unsubscribed from this list. Always 0 when removing.
resultsobject[]requiredAt most 1000 items.
Show propertiesHide properties
indexnumberrequiredstatusstringrequiredOne of:
oknot_foundinvalidunsubscribedAt most 2,000 characters.
profile_idstring | nullrequiredAt most 2,000 characters.