---
title: remove
slug: campaign-dev-docs/remove-recipientwebservice
createdAt: 2026-07-02T19:01:45.941Z
---

:::hint{type="info"}
**Note**
Do not use this method with recipients who unsubscribe from a newsletter. Instead, use the [add](https://docs.optimizely.com/campaign-dev-docs/add-unsubscribews) and [addAll](https://docs.optimizely.com/campaign-dev-docs/addall-unsubscribews) methods of the [UnsubscribeWebservice](https://docs.optimizely.com/campaign-dev-docs/unsubscribewebservice).
:::

**Type**: void

**Parameters**

| Name            | Type   | Value                    |
| --------------- | ------ | ------------------------ |
| sessionId       | String | ID of the session        |
| recipientListId | long   | ID of the recipient list |
| recipientId     | String | ID of the recipient      |

**Return values**

**Code structure**

```javascript
void remove(String sessionId, long recipientListId, String recipientId)
```
