I have a question regarding the required API token permissions to view Audit Logs using the Cloudflare API.
As said, I need to retrieve Audit Logs for an account via the Cloudflare API (endpoint is https://api.cloudflare.com/client/v4/accounts/account_id/audit_logs). The problem is that I can’t find which permission I need to give the API token I’m creating to get access to the resource. Every permission I’ve tried until now gives me an 10000 Authentication Error response.
What permissions should I give the token so that the request will work and I’ll get access to the Audit Logs data?
Thanks
Hi @ori5 can you clear cache & cookies and try again from incognito mode? Sorry for the issues, let me know if they persist and we’ll figure out next steps.
Also,
I’d like another clarification. Do you mean that in order for Audit Logs to be accessed, no special permissions are needed to be granted to the API token? Only required for the user to be an Administrator?