Someone is spamming my PlayFab with login with custom id and I want to know how to disable it as I've been looking for a solution but no help.
Someone is spamming my PlayFab with login with custom id and I want to know how to disable it as I've been looking for a solution but no help.
You can disable the API by updating your API access policy. For example, you can add the following statement to your policy to disable the login with custom id API:
{
"Resource": "pfrn:api--/Client/LoginWithCustomID",
"Action": "*",
"Effect": "Deny",
"Principal": "*",
"Comment": "This statement disables request to LoginWithCustomID "
}
Please refer to this document for more detail: API Access Policy - PlayFab | Microsoft Learn.
Could you please tell me like where to go to access the API Access Policy?
You can get the API Policy using the GetPolicy API, as mentioned in this document API Access Policy - PlayFab | Microsoft Learn.
17 People are following this question.