---
title: remove
slug: campaign/dev-docs/remove-mailingwebservice
createdAt: 2026-08-06T15:53:39.860Z
---

Only mailings that are in the status NEW (not started) can be deleted.

**Type**: void

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |
| mailingId | long   | ID of the mailing |

**Return values**

- **Code structure**

```javascript
void remove(String sessionId, long mailingId)
```
