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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.