Navigate...
Bulk Delete Recipients
sdk.lists.bulkDeleteRecipients(listId, req)
Delete multiple list items from a list in a single request. Pass the list item IDs returned by getRecipients() — not recipient IDs. Returns the number of items actually deleted.
API key required to run methods
API Key *
Base URL
listId
string
required
List ID
List ID
List item IDs (one per line) *
Returns
BulkDeleteRecipientsResult
Deletion summary
deletedCount
number
Number of list items actually deleted
Errors
Validation error
Invalid list id
The request is not authorized
You do not have permission to access this resource
List not found
See Also
removeListItem()
Remove a single item when bulk is overkill
getRecipients()
Find the list item IDs to delete
Generated Code