AMPscript
Add
Remove
Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Removes a previously initialized content area
Remove()
This sample code deletes the email with the external key myCA:
1var obj = ContentAreaObj.Init('myCA');
2var status = obj.Remove();