I have added this to the API policy as I saw in a guide here:
{
"Resource": "pfrn:api--/Client/LoginWithCustomID",
"Action": "*",
"Effect": "Deny",
"Principal": "*",
"Comment": "Deny client access to LoginWithCustomID"
}
But it just prints an error "could not save policty, invalid action * in statement". What is it about? and is there some less complicated way to edit policy than just typing it manually like this?