new PermissionStatement() { Action = "*", Comment = "Do not allow clients to create sharedgroups", Resource = "pfrn:api--/Client/CreateSharedGroupRequest", Effect = EffectType.Deny, Principal = "*" }
this is the code I tried, read the documenations on the policy : https://learn.microsoft.com/en-us/gaming/playfab/api-references/api-access-policy but there is something I'm clearly missing since my my policy doesn't work.
here people seem to say it's impossible but it's being a while maybe things have changed.