Greetings.
Trying to delete user throught cloudscript, using this api:
Account Management - Delete Player
But it's wont work - return me an error.
But if i'm trying to remove player using Admin Api via postman, it's works fine.
Is server function won't work, or i'm doing something wrong?
My code works like that:
server.DeletePlayer ({ PlayFabId: args.clanId });
Answer by SethDu · Jan 29, 2020 at 03:31 AM
Hi, can you provide the detailed error code? Does the args.clanId return a valid PlayFab ID? You can use debug.log to check.
It's wrote me "This API must be enabled for server access in the Game Manager API Features settings". Thanks a lot, this is defenetly what i was looking for!
Can multiple users login with same CustomID? 1 Answer
[CloudScript] Playfab Account Initialization 1 Answer
Server API for AddGenericId and GetPlayFabIDsFromGenericIDs 1 Answer
How to delete players whose emails are not verified and their accounts 1 month old? 1 Answer
Can i receive email of logged in user in Game Manager? 1 Answer