What permission is needed for an API token to fetch all auditlogs from the account?

What is the name of the domain?

testxyzbeta.com

What is the issue you’re encountering

I created an API token to fetch all available audit logs in the account and assigned permissions like Account:Read and Account:AuditLog:Read. However, when I use it in a cURL request, I get the following error: {“success”:false,“errors”:[{“code”:10000,“message”:“Authentication error”}]. Any insights on what might be causing this?

Hello!

Those look like incomplete settings. There’s no global Account permission, nor Account:AuditLog, though there is Account:Access:AuditLog, but that’s for Zero Trust .

I found that Account:Account Settings - Read worked for me. I just generated a new token for that, and it still works for me.

Please give that a try, and let us know if you need further assistance with this.

1 Like

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