Rimuovi contatti dalle liste contatti
DELETE/api/partner-gateway/v1/contacts/list/contacts
Removes contacts from contact lists in bulk by deleting their associations. The request body must include listIds (the target contact lists to remove contacts from) and either specific contactIds or allContacts=true. When allContacts is false, provide contactIds as a list of contact IDs to remove from the specified lists. The contactIds field is required in this mode. When allContacts is true, all contacts are removed from the specified lists, except those whose IDs are in excludeIdsAllContacts. This operation only removes the contact-to-list associations; it does not delete the contacts themselves or the lists. Contacts removed from a list will no longer be recipients of campaigns that target that list, unless they also belong to another list used by the same campaign. Use this to clean up list memberships, prepare lists for re-import, or narrow down a campaign audience. For deleting a single association by its ID, use DELETE /contacts/list/contacts/{id} instead. Returns 200 with the result of the dissociation operation. Returns 400 if listIds is empty, or if allContacts is false and contactIds is not provided. Returns 500 if an unexpected server error occurs.
Richiesta
Risposte
- 200
- 400
- 500
Associazioni eliminate con successo
Corpo della richiesta non valido
Errore interno del server