---
title: remove
slug: campaign/docs/remove-mailingwebservice
docTags: 
createdAt: 2026-07-02T19:01:46.737Z
---

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)
```
