You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey, I know this is an old question. However, I also just stumbled over that problem and the answer is now in the above linked ticket. To save some time for future users I just add the information here too:
This comment mentions these (in Confluence 7.4.10 working) rest endpoints:
Hope this will save some time for others. :)
Have tried the above mentioned api in postman to get the licensed user count.
There i'm getting the error:"No value present" in the response
Is the domain url before the /rest/licence should be the atlassian company domain url. Is there any api link to check with. Or is there any change required in the api call.
Hey, sry for the late reply.
My answer was for the Server/Data Center version of Confluence. It seems that you are looking for a solution for the Cloud version of Confluence. For that I unfortunately can't help you.
Hope you will find or already found your answer somewhere else. :)
This is not yet possible, but we have a feature request for it:
It's possible to do using a database query:
Let me know if you have any questions about this.
No, I think you misunderstood my reply. Still I am not able to figure out a way for my actual request. Again for a clarity, I was looking for an option to find the count of my purchased license through an API call or a DB query. I am not looking for the active users count or logged in users count, only the purchased license count. I know I can see that value if I login to the UI. But I am looking for an option to get that value to add it into an automation which I am trying.
I won't be able to help you specifically with your automation but I can help point you in the direction of finding this in the database.
Thank you for verifying.
I'm not sure how to do that, but there appears to be a way within Jira, so the Confluence app may be similar in REST API?
I wasn't able to determine specifically that might be in the database. Your question has been tagged so that our Developer Community can have a look and let you know if they have any advice.
I consulted one of our developers, and she said that the REST API Browser may be able to help you find what you need.
You can use this to see what is being called in the API when it retrieves your license details.
Could you take a look at that and see if it helps you find what you need?