Deleting a configuration profile

Hi!

I am going to install the iOS 16 public beta in my iPhone XS. I got to know that i need to delete the iOS 15 beta configuration profile that i currently have on my phone, before I install the iOS 16 profile. So my question;

do i just go into the profile in settings and press ”delete profile” and enter my pin code, to delete the profile, or will the entire iOS be deleted when i delete the profile due to that i running iOS 15 beta on my phone currently. Or will deleting the profile just stop the phone for receive new beta versions of iOS 15 and keep running the current iOS beta?

Deleting a configuration profile
 
 
Q