Skip to content

Instantly share code, notes, and snippets.

@wvpv
Created February 15, 2022 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wvpv/fcd9e58080d1280c55e59f5938e268b6 to your computer and use it in GitHub Desktop.
Save wvpv/fcd9e58080d1280c55e59f5938e268b6 to your computer and use it in GitHub Desktop.
SFMC Clear a Data Extension using WSProxy
<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