---
title: removeAll
slug: campaign/docs/removeall-recipientws
docTags: 
createdAt: 2026-07-02T19:01:46.737Z
---

:::hint{type="info"}
**Note**
Do not use this method with recipients who unsubscribe from a newsletter. Instead, use the [add](docId\:CefCVEePyWIRO9NGXAQVh) and [addAll](docId\:STY31mIYhz_tB498e58F5) methods of the [UnsubscribeWebservice](docId\:MU73S3M0DWMgcGd4EhQ3C).
:::

**Type**: boolean\[ ]

**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**

- true: Recipient has been deleted successfully
- false: Recipient does not exist

**Code structure**

```javascript
boolean[] removeAll(String sessionId, long recipientListId, String[] recipientIds)
```
