How to delete apex trigger using SFDX CLI

Reading Time: < 1 minutes

If you have an Apex trigger in Salesforce that you want to delete, you can use the SFDX CLI to do so. Here are the steps to delete an Apex trigger in your Salesforce org using the SFDX CLI.

sfdx force:source:delete -m "ApexTrigger:MyTrigger"

About the author

Andrés Canavesi
Andrés Canavesi

Software Engineer with 15+ experience in software development, specialized in Salesforce, Java and Node.js.

Related posts

Leave a Reply

%d bloggers like this: