Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,012
Community Members
 
Community Events
168
Community Groups

How to authenticate with Admin API ?

Hi all, after finally finding the place to create an organizational API Key ( took a while ), I'm now trying to authenticate towards the endpoint 'https://api.atlassian.com/admin/v1/orgs' but I'm constantly getting 401 errors still.

How do I authenticate with this new api key? Do I still have to pass my email address with it like for the confluence endpoint?

myemail@domain.com:APIsecretkey ?

I'm using PowerShell to connect and I'm struggling quite a bit ( with the confluence endpoint it works perfectly with my personal API key ).

2 answers

1 accepted

4 votes
Answer accepted

Hi @Daniel Palermi 

You will need to generate an API key here and it only last for 7 days. Authentication uses auth bearer

Authorization: Bearer <access_token>

You don't need an email address, you just simply need the token placed in that format above. See more for the documentation

Please note that accessing Atlassian REST API resource is different from Atlassian access Admin API.

<access-taken>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Access

Atlassian Access Demo Q&A Recap

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...

1,518 views 5 5
Read article

Atlassian Community Events