DeleteData

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 non-sending contexts, such as landing pages. This call returns the number of rows modified.

DeleteData(1, 2, 3)

OrdinalTypeDescription
1stringRequiredName of data extension
2arrayRequiredNames of columns from data extension
3arrayRequiredNames of values in data extension

This example deletes the rows from the data extension with the LastName value of Smith.