The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am attempting to retrieve org level audit logs for my org and it 401s. The user I am using has Org and Site admin access and can see the logs in the UI. However the API yields a 401. How do I properly retrieve Org Logs?
Here is the cURL command I am using:
curl https://api.atlassian.com/admin/v1/orgs/6af71d9a-3f11-4893-b958-4f464491cc51 -H "Authorization: Bearer <api token>"
I assumed my org id based on the URI in the browser when navigating to the audit log page. Not clear if that is correct.
Turns out the way I was generating the API token was the culprit. https://support.atlassian.com/organization-administration/docs/manage-an-organization-with-the-admin-apis/
Hi Community! Thank you to all who joined our ongoing monthly Atlassian Access demo! We have an engaging group of attendees who asked many great questions. I’ll share a recap of frequently ask...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.