We have old unused Apex Triggers and classes that are on old version of the API that being deprecated. We want to delete them from our Salesforce instance, but there is no way on the front-end. Any advice?
#Salesforce Developer
You can’t delete Apex triggers directly
Just deactivate them by removing the logic or wrapping it in a if(false) block, or use Custom Metadata to toggle behavior.
For real cleanup, you’ll need to delete them from your org via Metadata API or in VS Code with SFDX.