Created
February 15, 2022 14:32
-
-
Save wvpv/fcd9e58080d1280c55e59f5938e268b6 to your computer and use it in GitHub Desktop.
SFMC Clear a Data Extension using WSProxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script runat="server" language="javascript"> | |
var prox = new Script.Util.WSProxy(); | |
var DEKey = "YourDEKey"; | |
var clearDEResponse = prox.performItem("DataExtension",{"CustomerKey": DEKey},"ClearData"); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment