---
schema_version: "1"
id: 24cca9161aaf7d11efcd83719f042dc266ede173df1d4e97082927a1f83a895d
title: DeleteDE
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_platformDataExtensionDeleteDE.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_platformDataExtensionDeleteDE.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 54a2fba489880ab5267cebb6727dbbad47d525b26b7a355accec737a35661cc9
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DeleteDE

Deletes information from a data extension as indicated by the array containing the listed column name and value pairs. You can include multiple column name and value pairs in a single call. You can use this method in sendable contexts, such as email messages.

## Syntax

`Platform.Function.DeleteDE(1, 2, 3)`

## Function Properties

| Ordinal | Type   | Description                                    |
| ------- | ------ | ---------------------------------------------- |
| `1`     | string | Required. Name of data extension               |
| `2`     | array  | Required. Names of columns from data extension |
| `3`     | array  | Required. Names of values in data extension    |

## Example

This example deletes the rows from the data extension where the value of `LastName` is `Smith`.

```
<script runat="server">
     var rows = Platform.Function.DeleteDE('CustomerData',['LastName'],['Smith']);
</script>
```
