---
title: removeByRecipientList
slug: campaign/docs/removebyrecipientlist
docTags: 
createdAt: 2026-07-02T19:01:44.226Z
---

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

**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 removeByRecipientList(String sessionId, long recipientListId, String recipientId)
```
