Skip to content

Instantly share code, notes, and snippets.

@jdeblank
Last active June 14, 2019 04:47
Show Gist options
  • Save jdeblank/1d80245df4e29e670d60c87ae728f48e to your computer and use it in GitHub Desktop.
Save jdeblank/1d80245df4e29e670d60c87ae728f48e to your computer and use it in GitHub Desktop.
<script runat="server">
Platform.Load("core","1.1.5");
var prox = new Script.Util.WSProxy();
var de = {
CustomerKey: 'AA554FF4-B0FF-4F1E-ADA9-123123123',
Name: 'NewName'
};
var resp = prox.updateItem("DataExtension", de);
Write("<br>Response: " + resp.Results[0].StatusMessage);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment