question

Ozan Yilmaz avatar image
Ozan Yilmaz asked

Is there a way to unlink device ID while banning a player?

Hello everyone,

I'm using the Admin API to ban players from the game. I was wondering if there's any way to unlink their devices while banning the players? I couldn't find any unlink Android/iOS device ID function in both Admin and Server 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

·
Seth Du avatar image
Seth Du answered

Account link/unlink APIs are not available in Admin/Server API set. However, you may create an Azure Function and configure a Rule that it will be triggered by “player_banned” event.

In Azure Function, you are able to initialize a PlayFabClientInstanceAPI to perform Client API calls.

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.