Lists

Remove profiles from a list

POST/lists/{id}/profiles/remove

Up 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

  • idstringrequired

    The id of the list.

Body parameters

  • profilesobject[]required

    At most 1000 items.

    Show properties
    • idstring

      At most 2,000 characters.

    • external_idstring

      At least 1 characters. At most 255 characters.

    • emailstring

      At most 254 characters.

Response

  • changednumberrequired
  • not_foundnumberrequired
  • unsubscribednumberrequired

    Profiles that were NOT added because the person unsubscribed from this list. Always 0 when removing.

  • resultsobject[]required

    At most 1000 items.

    Show properties
    • indexnumberrequired
    • statusstringrequired

      One of: ok not_found invalid unsubscribed

      At most 2,000 characters.

    • profile_idstring | nullrequired

      At most 2,000 characters.