provider Lists DELETE /marketing/lists/{id}/contacts
@utdk/sendgrid /marketing/lists/{id}/contacts
Remove Contacts from a List
**This endpoint allows you to remove contacts from a given list.** The contacts will not be deleted. Only their list membership will be changed.
id path required
string
contact_ids query required
comma separated list of contact ids
string

Try it

Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteMcListsIdContacts
DELETE/marketing/lists/{id}/contacts
**This endpoint allows you to remove contacts from a given list.** The contacts will not be deleted. Only their list membership will be changed.

Parameters

required

required

comma separated list of contact ids

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.deleteMcListsIdContacts()