+ Start a Discussion
md inayatmd inayat 

On Sandbox

1.can we delete apex class from production?
Hi md inayat,
You can  not delete apex class from production.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Md Inayat,

Apex code can't be modified directly within a Production organization, it requires steps using Developer tools, like the Force.com IDE.

NOTE: This is the only way an Administrator or Developer can disable or remove Apex in Production.

Please refer the Salesforce help document on disabling Apex Class in production. Hope it will be helpful.

Please mark it as best answer if the information is informative.

Best Regards
Rahul Kumar