question

Jake Danton avatar image
Jake Danton asked

Using https://XXXXX.playfabapi.com/Server/DeletePlayer doesn't clean up username and email associations, even after 24 hours

  • I call https://XXXXX.playfabapi.com/Server/DeletePlayer on a specific PlayFabId
  • The player no longer shows up in the web portal
    • also searching for the associated username or email results in zero players
  • I wait over 24 hours
  • I try to register a new user through the API with the same email or username and get a message saying they are in use
  • OR I create a character in the portal and try to set username or email and get the same error

It is possible the data is being cleaned up after 72 hours; I had one instance where a username was reusable days later but had not been 48 hours later.

Is there a way to manually clean this data up? It is a small load (on the order of a hundred a day max).

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

The DeletePlayer API can’t delete the player’s Username and Login email address. The Username and Login email address bind with the master player account, and as the API reference said, the Server API DeletePlayer does not delete the master player account and associated data such as username, password, email address, etc. The Admin API DeleteMasterPlayerAccount is designed to remove a master player account entirely from all titles and deletes all associated data. So, you can use the API DeleteMasterPlayerAccount to delete the player again to let the Username and Email address can be reused by others.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.