Cannot get Authentication working for load_balancers endpoint

I am able to call zones and dns fine but cannot get load balancer API calls to work

curl --location '' --header 'Authorization: Bearer xxxxxxx' 
{"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}

I have granted Account permission ‘Load Balancing: Monitors And Pools’ as Edit. What could I be missing?

Got an answer back from support:

Please use the following API call. You are currently using the user endpoint which is not where your loadbalancers are configured

In short I was calling
instead of{account_identifier}/load_balancers/pools

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.