Not possible to block DeleteAccount rpc according to documentation


According to Nakama: Guarding APIs | Heroic Labs Documentation it is not possible to block DeleteAccount, because there is no input argument. Maybe it will be possible to introduce alternative approach (at least for go framework and maybe even make it a default) that will be based on returning a specific error defined in runtime package?

Hi, for the purpose of disabling API functions which only return error the only way at the moment is to actually throw/return an error but it doesn’t need to be any specific type, any error will do. However there is a reason not to disable DeleteAccount - the users should be (in some cases must be) able to delete their own accounts.