I want to delete a email folder (empty) with a destructive package but I can't make this work.
I made a .zip with my 2 files :
package.xml
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<version>44.0</version>
</Package>
destructiveChangePost.xml
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<name>Folder</name>
<members>my_email_folder</members>
</types>
</Package>
When I try to deploy with Workbench, the folder isn't deleted :
Is it possible to do it in that way?
Check Only
flag as true? – Pranay Jaiswal Jan 21 '19 at 14:09