During startup of my application I would like to know if my API-Keys has all permissions required. I just removed all IP-Addresses for that API-Key for testing.
However when I send a request to: GET /sapi/v1/account/apiRestrictions
I’m getting the error: “Invalid API-key, IP, or permissions for action.”
I thought the purpose of this endpoint is to give me information about what I can and cannot do. But since it’s restricted I can’t get the information.
How can my application check if it does have the permissions it will require?