question

iamshanecostello avatar image
iamshanecostello asked

Cannot search for players previously deleted

Hello,

last night, before our launch, we called the DeletePlayer API on every account in our database (about 380 players). Everything still seems to be running smoothly, but since the delete we cannot search for the player IDs of any of the players included in the delete. After a login with those accounts, the accounts still exist, but searching for their ID on the PlayFab website always returns "No players found." New players logging in can be searched for, just no accounts that had DeletePlayer called on. Any idea on how to remedy this? Or did we do some permanent damage on those 380 accounts calling that API?

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

·
jital avatar image
jital answered

Hello,

This is by design, DeletePlayer API call deletes information such as statistics, custom data, inventory, purchases, virtual currency balances, characters, and removes this player from search indexes. But the call does not delete the user account that created the Player. Which means the email, password, and username still exist and are able to be used for login

4 comments
10 |1200

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

iamshanecostello avatar image iamshanecostello commented ·

Is there a way to restore search indexes to those players?

0 Likes 0 ·
Andy avatar image Andy ♦♦ iamshanecostello commented ·

No, after calling DeletePlayer, the player is removed from the title. The accounts can be reinstated using the same login credentials you originally used, but all statistics, inventory, and data that existed at the title level will be deleted.

0 Likes 0 ·
iamshanecostello avatar image iamshanecostello Andy ♦♦ commented ·

I see. But why would reinstating the account not create a new search index? I'm just unclear why DeletePlayer deletes them forever, even if they are reinstated in the same game.

0 Likes 0 ·
Show more comments

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.