The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to authenticate with Admin API ?

Daniel Palermi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Answer accepted
Prince Nyeche - ELFAPP
Atlassian Partner
March 1, 2021

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.

Sarowar Chowdhury
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 18, 2021

I am satisfied 

0 votes
Smart Hub
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 26, 2021

<access-taken>

TAGS
AUG Leaders

Atlassian Community Events