curl -u admin:admin -X POST http://localhost:4505/crx/packmgr/service/.json/etc/packages/export/name of package?cmd=uninstall not working ??? Try to uninstall the package
curl -u admin:admin -X POST http://localhost:4512/crx/packmgr/service/.json/etc/packages/my_packages/testing-1.0.zip?cmd=uninsta...
working for me!!!!:)
Glad that it got resolved for you. Please let us know if there are any issues in the future.
Thanks for reaching out to Adobe Community.
You may want to go through the below link to see how to use the CURL command to delete packages: