Hi Atlassian team,
In the following documentation,
If I use curl to GET Organizations, I'm getting Unauthorised 401 Response.
Is it missing something,
curl --request GET --url 'https://api.atlassian.com/admin/v1/orgs' --header 'Authorization: Bearer MY-API-TOKEN' --header 'Accept: application/json'
Thanks and regards,
Thanks for reaching out to Community!
The token for the Organization's API is a little different from APIs that we use for other Cloud products.
When it comes to Organization API we need to generate the token directly in the Org. Please, go to admin.atlassian.com > Select the desired organization > Settings > API keys and create a new key.
curl --request GET \
--url 'https://api.atlassian.com/admin/v1/orgs' \
--header 'Authorization: Bearer aBCD0eFGhijKl1mnopQr' \
--header 'Accept: application/json'
Please, give it a try and let us know how it goes.
Did you follow the instructions here to create your API key? It's important to note that the API key for the admin API is not the same as the ones you create under your Atlassian account.
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 event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events