---
schema_version: "1"
id: 950a09df4d9c8a6208b89f9b8da1a3addf3d9faf90ed0cc4b94652e9dc953b53
title: DefinitionRemove
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_sendDefinitionRemove.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_sendDefinitionRemove.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: d82805faf67797b3f01ad36feafcee89268e48f2791da22ccff70380ec2b9549
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DefinitionRemove

## Overview

Remove a previously initialized send definition and return the status of the removal

### Syntax

DefinitionRemove()

## Examples

This sample code removes a send definition with an external key of myESD:

```
var esd = Send.Definition.Init('myESD');
var status = esd.Remove();
```
