Find your content:

Search form

You are here

Deleting a class without IDE


Salesforce makes it hard to delete classes in a production org. Our change control policy doesn't allow for the use of the IDE to make changes to the production org...everything goes through change sets for traceability to th original request.

How do I delete a class?

Attribution to: Shane McLaughlin

Possible Suggestion/Solution #1

This can be done with the Migration Tool:

See the full documentation here:

The tool can create or delete any meta-data that can be created through the IDE or Change Sets. It comes with a sample config file that contains example deployments for deploying objects and Apex code and deleting them as well. The documentation has a very detailed step-by-step guide here:

Attribution to: E.J. Wilburn
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content