---
title: removeAllByRecipientList
slug: campaign/docs/removeallbyrecipientlist
docTags: 
createdAt: 2026-07-02T19:01:47.121Z
---

If the client is configured for a client-wide unsubscribe list, this method does exactly the same as the [removeAll](docId\:c-31Z__DphpaqkmO4i54_) method.

**Type**: void

**Parameters**

| Name            | Type       | Value                    |
| --------------- | ---------- | ------------------------ |
| sessionId       | String     | ID of the session        |
| recipientListId | long       | ID of the recipient list |
| recipientIds    | String\[ ] | IDs of the recipients    |

**Return values**

- **Code structure**

```javascript
void removeAllByRecipientList(String sessionId, long RecipientListId, String[] recipientIds)
```
