You need to sign in to do that
Don't have an account?
DEv Nolan
Does anyone know how to delete a Rollup field with APEX, switch a different Object’s field To Lookup from Master Detail, delete a record, switch that field back to Master-Detail, then create a Rollup Field ?
Title^
As per the documentation, When you delete a roll-up summary field using Metadata API, the field isn't saved in the Recycle Bin. The field is purged even if you don’t set the purgeOnDelete deployment option to true.
Another way is to delete it using UI. You would see the options posted here
Definitely not possible to switch the relationship using apex