Filters api error

using this to get a list of filters for a zone:
curl -X GET
-H “Content-Type:application/json”

getting this error back:
{“success”:false,“errors”:[{“code”:10000,“message”:“Authentication error”}]}

i know the token is good because for example i can use it to get a list of zones.

have given the token edit permission for just about everything but no dice:

  • All accounts - DDoS Protection:Edit, Account Rulesets:Edit, IP Prefixes:Edit, Access: Device Posture:Edit, Access: Service Tokens:Edit, Rule Policies:Edit, Account Filter Lists:Edit, IP Prefixes: BGP On Demand:Edit, Access: Organizations, Identity Providers, and Groups:Edit, Account Firewall Access Rules:Edit, DNS Firewall:Edit, Account Settings:Edit, Access: Apps and Policies:Edit

using the free plan. any ideas what i may be missing?

I got the API call to work with Zone:Firewall Services:Read

i’d just figured this out and was typing a reply on that.

guess i’m not up on the differences between accounts and zones and the documentation isn’t very robust on token permissions.

either way, problem solved.

thanks man

Have you checked this this page out?

i was mostly in here:

will check out that page. seems useful.

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