We are excited to announce the release of our first Player Authentication Public Admin API!
We heard from some of you that you need a way to delete a player’s account. As for the first release, we are providing the Player Account Deletion API so that you can remove redundant player accounts, comply with privacy regulations and improve your test/development process.
Documentation
You can refer to our documentation on how to set up and use this Player Account Deletion API.
What’s Next?
We are currently working on other Player Account Management APIs such as:
Disable/Enable Player
Get Player Information
List Players
In addition, we will be making enhancements to the Player Management page so that you can perform the above actions directly from the dashboard.
My project developed “Unity Game Service” but don’t used player data delete in api call
we must need player delete (not only Auth) Auth + Data, Admin API
Thank you so much for reaching out, @MaxBackcountry ! You are right, the current Player Deletion feature doesn’t remove the player’s Cloud Save and Economy data. It’s similar to the DeleteAccountAsync API that you mentioned, meaning the player’s data remains when a player is deleted.
We understand that this is not great and adds complexity and work for developers to clean up those orphaned data. We are looking into improving the player deletion functionality to ensure that when a player is deleted, all their data within UGS is automatically removed. We will keep you updated on the progress.
Thanks for your reply @chengg_unity and for considering this!
Just to clarify: One part of the problem is definitely the orphaned data that you mention.
The other part is in my opinion that the Delete Player function (i.e. the process that you trigger by hitting the ‘Delete’ button in the dashboard) cannot be called by game code because there is no respective method in the scripting API. The Delete Player method can be called only via the Admin API and thus cannot be coded in the game itself…