Number of licensed users in a Confluence cloud

Hi All,
I would like to know if there is a possibility to get the number of licensed users in Confluence cloud like the “applicationrole” api for Jira cloud.

From another POST I got the followings:
https://your-domain.atlassian.net/wiki/rest/license/1.0/license/userCount

https://your-domain.atlassian.net/wiki/rest/license/1.0/license/remainingSeats

https://your-domain.atlassian.net/wiki/rest/license/1.0/license/maxUsers

The above APIs were working and today I noticed that they are retruning 404 error.

I like to get any help to get the above APIs are working or any other alternative approach to get the licensed users count for Confluece Cloud please.

Any help will be highly appreciated!

Thanks,
Kavitha

1 Like

Hello @KavithaSivalingam

Those UNDOCUMENTED and UNSUPPORTED API endpoints still happen to be working perfectly for a number of Confluence Cloud instances in my region.

If they were working for you, then suddenly stopped working for you, then it’s highly likely that Atlassian has simply disabled or deprecated them for the Confluence Cloud instance in your region. That is the risk you take when using unsupported API endpoints.

Hi @sunnyape ,

It is really strange, those are not working today from the browser as well as in Postman. We will check it continuously and see if that helps.

Thanks for your confirmation,
Kavitha

the endpoints are not documented for Confluence Cloud in the API docu… I never seen this and it doesn’t make a lot of sense to me → in Confluence Cloud you normally have no user license tiers… looks to me like the endpoints rather relate to DataCenter
btw. it is not working for me either in Cloud

1 Like

Hi @KavithaSivalingam

I’m experiencing a similar issue as described above with some Confluence Cloud sites.
When calling the endpoint, I receive a 404 response like this:

  • /wiki/rest/license/1.0/license/userCount

  • /wiki/rest/license/1.0/license/remainingSeats

  • /wiki/rest/license/1.0/license/maxUsers

Reponse:

{
    "errors": [
        {
            "status": 404,
            "code": "NOT_FOUND",
            "title": "Not Found",
            "detail": null
        }
    ]
}

Have you identified the root cause of this issue yet?
Is there any alternative approach or workaround to resolve this problem?

Thanks in advance!

Yep. As already stated, they are UNDOCUMENTED and UNSUPPORTED API endpoints that are remnants from the old Server platform, which means you assume all risk when trying to use them.

Atlassian has probably just disabled those endpoints for some Confluence Cloud instances in some regions, but not all.

Refer to the feature request CONFCLOUD-37100 to add an OFFICIAL and SUPPORTED user license API endpoint to Confluence Cloud

Yep. Get all user and product licencing information from the Cloud Admin APIs