We are going to re-use the sample code from CreateWebProfile.php. If you have not visited the sample yet, please visit it before trying GetWebProfile.php The CreateWebProfile.php will create a web profile for us, and return a CreateProfileResponse, that contains the web profile ID.
Create a new instance of web Profile ID, and set the ID.
Execute the delete method
Delete Web Profile
Use this call to delete a web experience profile. Documentation available at https://developer.paypal.com/webapps/developer/docs/api/#delete-a-web-experience-profile