Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

See Atlassian Access in action - Live Demo

Did you know Atlassian Access offers more than SAML single sign-on for Atlassian cloud products, like Jira and Confluence? Whether you're just starting to plan for your organization or in the pr...

132 views 0 4
Read article

Community Events

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

Events near you