Disk Utility.app in the /Applications/Utilities/ folder would be my recommendation. That's generally the easiest/safest way to make changes to partitions.
How to delete a boot partition from MacOS Catalina
Disk Utility.app in the /Applications/Utilities/ folder would be my recommendation. That's generally the easiest/safest way to make changes to partitions.