question

tombatsford avatar image
tombatsford asked

What is the best way to delete all players from a title?

Hi,

we currently have multiple titles set up in playfab for different steam apps. One of these we are using for external tests. What i would like to be able to do is clear all players from that app to reset everybodys progress. Id like to remove the players using whatever call is used when you select "delete player" from within a players playfab profile. What would be the best way to do this?

Thanks.

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

·
Joshua Strunk avatar image
Joshua Strunk answered

If possible the best way would be to just create a new title and migrate all of your Title wide settings/data over to the new title. Then possibly contact PlayFab about deleting your previous test title.

1 comment
10 |1200

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

brendan avatar image brendan commented ·

You can actually delete titles yourself, on the main PlayFab dashboard (click the PlayFab logo in the upper left corner). But also, to delete all players, you could also just write a Cloud Script that calls https://api.playfab.com/documentation/server/method/DeleteUsers on the currentPlayerId, and then run a Scheduled Task that targets the All Players segment.

0 Likes 0 ·

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.