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
Caroline StensvedCaroline Stensved 

Delete object ( Single Custom Obejcts)

Hi All, 
I have created some customer objects incorrectly in my "playfu moose" doing my trailhead sessions in Object Manager.  How can I delete them without deleting everything?

​Thank you! 
Rakshana Cube84Rakshana Cube84
If you delete the object the corresponding custom object it will be deleted all the records and fields too
Varun SinghVarun Singh
To delete a custom object:
1-From the object management settings for custom objects, click Del next to object that you want to delete.
2-When prompted, select the Yes, I want to delete the custom object checkbox to confirm and click Delete.
before delere record you should have delete their records ,triggers,Apex class ,pages and workflow  every thing

 i am not ware with your salesforce task .
first you delete all records of that object

Caroline StensvedCaroline Stensved
 Thanks to both of you, Varun and Rakshana! I will give it ago!