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

Unauthorised response in Get Organizations API?

Edited

I have tried this curl command using my API token but getting the same error
401 UnAuthorized 

Also I have site admin access.

1 answer

0 votes

Hello @Saiyam Shah,

Welcome to Atlassian Community!

Checking the details of your account, I don’t see any organization linked to your email address. In this case, you need to reach out to the org admin for them to add you as an administrator.

After you get the access, you need to create an API key directly in the org by going to admin.atlassian.com > Click on the Organization > Settings > API Keys.

Screen Shot 2021-02-22 at 13.44.28.png

After that, you will be able to use the endpoint below:

Kind regards,
Angélica

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

112 views 0 3
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