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

JIRA Marketplace REST API Token

Solomon Razvan August 24, 2018

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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
AUG Leaders

Atlassian Community Events