function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris M 11Chris M 11 

Removing Web Service Classes from Managed Package

Hi ,

We would like to delete the Webservice classes that is a part of a Managed Package. We raised a case and got the delete permission to delete objects and other stuff.

When didnt get the option for webservice classed and tried to edit them it shows like it cannot be done when part of a Managed Package.

Could some one please guide us in deleting them from the Managed Package.

Appriciate your time.Thank you very much for your support.

Regards,
Christwin
Kiran  KurellaKiran Kurella
I don't think you can delete a global class from a Managed Package but you can deprecate a global class. You can use @deprecated annotation to de-activate it.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_deprecated.htm