Forums

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

How can I get License status in confluence REST API for non authorized users?

pavel
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!
September 30, 2019

I need to access this REST endpoint for non authorized users from browser but, it always returns 401. How can I get through it?

`/wiki/rest/atlassian-connect/1/addons/{appKey}`

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 2, 2019

Hello Pavel,

Welcome to Atlassian Community! Happy to help you.

Although I am not too familiar with the Atlassian Connect REST-API, I  have reviewed the documentation on this. According to the documentation, the endpoint must be called by an app. It is not possible to access this endpoint from any unauthorized user or through your browser.

In addition to the lic parameter, an app can use the REST API resource /addons/{appKey} provided by Atlassian Connect to get an instance’s license for this app. Note, you will need to declare READ scope in order to use this resource.

If you wish to obtain the active user account, we have a feature request about this below:

  • AC-1481 Include active user count of host application in GET /addons/{addonKey}

If this is not what you are trying to do, I would refer to the resources below:

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer