REST API to retrieve users counting towards Confluence license

XMLWordPrintable

    • 7
    • 6

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      It would be great if there is an REST API that could return

      • the number of users counting towards Confluence license
      • the usernames of those being counted towards Confluence license (workaround: use debug logging as per CONFSERVER-58875)

      This will allow administrators to easily keep track of the users that is counting towards the license and also to allow for easy monitoring of Confluence server user counts.

      —

      As noted in the comments below, a REST API is available to query this information:

      /rest/license/1.0/license/userCount 
      /rest/license/1.0/license/remainingSeats 
      /rest/license/1.0/license/maxUsers
      

      A new REST API has been in added in Confluence 7.1 that allows for the querying of even more details (license expiry date, subscription details etc):

      /rest/license/1.0/license/details

      A REST endpoint has been added to Confluence 9.3 which returns active users sorted on last login time (ascending):

      /rest/api/user/list/active
      

       

              Assignee:
              Mark Bereznitsky
              Reporter:
              Der Lun (Inactive)
              Votes:
              38 Vote for this issue
              Watchers:
              36 Start watching this issue

                Created:
                Updated:
                Resolved: