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

JIRA Marketplace REST API Token

Hello,

I have an atlassian vendor account and I'm currently trying to fetch the licenses for my vendor id with a third party application just as it is described here: https://developer.atlassian.com/platform/marketplace/rest/#api-vendors-vendorId-reporting-licenses-get

I've create an api token in my vendor profile but it doesn't seem to work and I keep receiving the 401 http response. If I use instead of the api token my password, everything is ok.

So basically if I run curl like this it works:

curl --request GET  --url "https://marketplace.atlassian.com/rest/2/vendors/{vendorId}/reporting/licenses" --user "email:password" --header "Accept: application/json"

and if I run it with the api token it fails:

curl --request GET  --url "https://marketplace.atlassian.com/rest/2/vendors/{vendorId}/reporting/licenses" --user "email:api_token" --header "Accept: application/json"

Any ideas why?

Thank you

1 answer

0 votes
Dave Meyer Atlassian Team Aug 26, 2018

Hi @Solomon Razvan,

Your question looks related to the Atlassian Marketplace license REST API. This topic is for Atlassian Access, which is a product to manage security, SSO, and users across an organization's Atlassian Cloud products.

I would recommend asking your question in our developer community forum and tagging it with the "Marketplace Vendors" tag: https://community.developer.atlassian.com/

Cheers,

Dave

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

510 views 1 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