---
schema_version: "1"
id: ce1924eea8d62e0ac2e13a36a1a560335ff44ece563699a2b0b9e9627e340fd6
title: CancelSend
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_sendCancelSend.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_sendCancelSend.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e4943c416efd54ebf47a9ea16788723143b2c01e8008d2867a61c7dabc343978
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# CancelSend

## Overview

Attempts to cancel a currently existing send

### Syntax

CancelSend()

## Examples

This sample code demonstrates how to perform this against an initialized send:

```
var mySend = Send.Init(12345);
var status = mySend.CancelSend();
```
