Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-37100

REST API to retrieve users counting towards Confluence license

XMLWordPrintable

    • 7
    • 6
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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
      

       

              mbereznitsky Mark Bereznitsky
              dooi Der Lun
              Votes:
              38 Vote for this issue
              Watchers:
              34 Start watching this issue

                Created:
                Updated:
                Resolved: