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)
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 |
This example deletes the rows from the data extension with the LastName value of Smith.