how can I delete deprecated class? In list of apex classes I don't see button to delete @deprecated class enter image description here. I'm also not able to remove @deprecated attribute because this class was included in released package.

Thank you in advance for any help


You can not delete components that have been released in a managed package, by default. Regardless of whether they are deprecated or not. You can log a case at Salesforce support to request the "Delete managed components" feature. After activation of this feature, you will be able to delete the apex class. There are some risks involved though, so use the feature with care.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.