i have written this code in cloudscript but i don't find a way to delete a user with all its information could somone pls add this to my code (i have put //delete user were i want the code to be inplemented)
pls help me thx
handlers.hello = function(args) { var playerData = server.GetPlayerProfile({"PlayFabId": currentPlayerId, "ProfileConstraints": {"ShowContactEmailAddresses":true}}) if (playerData.Error == null){ var contactEmailAdresses = playerData.PlayerProfile.ContactEmailAddresses if ((contactEmailAdresses != null) && (contactEmailAdresses.length > 0)){ emailVerificationStatus = contactEmailAdresses[0].VerificationStatus; if (emailVerificationStatus != null){ if (emailVerificationStatus == "Confirmed"){ var messagea = "confirmed"; return messagea;} if (emailVerificationStatus == "Pending"){ //delete user var messageb = "Pending"; return messageb;} if (emailVerificationStatus == "Unverified"){ var messagec = "Unverified"; return messagec;} }}}}