Delete Player API

Due to GDPR and other data regulations, we need to implement a data deletion pipeline for specific players.

  • Could you direct me to relevant documentation or tutorials for calling an API that deletes a player based on their player ID?
  • I noticed there’s an OpenAPI specification, but I’m unsure how to handle the authentication process.

So there are a few ways to handle this, it’s a little situational as it depends on how a game stores data and what they they want to preserve.

The Authentication service has a REST API endpoint and Command Line support for deleting Player Accounts, it’s also possible via the Player Management Dashboard. This will delete information like data used for account linking, Usernames/Passwords, Email Addresses used for Authentication, etc.

e.g. Some developers way want to keep anonymised Player Data because there is a dependancy within a game on that information, so if additional Player Data is stored using Custom Items (Game Data) so it tends to need to be game implementation specific, as in some cases developers will want to anonymise some data rather than purge it all.

If you want to delete stored in another service - like Cloud Save, Leaderboards (which could have metadata you want to purge), Economy, etc - you would need to use their REST APIs for each service to do that. Most also have an interface in the Dashboard, currently only some have Command Line support.

Thanks Iain, pleasure.

1 Like

One last thing I should add for anyone looking for how to solve for this sort of use case, we have Triggers on events like signing up or signing in, so you can Cloud Code when that happens to run code perform an action (like setting up a player, granting a reward, etc).

We also intend to add support them for account deletion, for developers looking to provide a way to automate this to ensure it always happens reliably / predictably (regardless of how an account is deleted).