How do I reset my eSIM but keep it?

How do I complete a factory reset on my phone without removing my eSIM?

For iPhone Users: You can follow these steps to complete a factory reset on your eSIM-compatible iPhone.

Go to 'Settings' > 'General' > 'Reset' > 'Erase All Content and Settings' > 'Erase iPhone' >'Erase All and Keep Mobile Plans'