Sonar API to get License details

Hi Team,

We are using SonarQube Enterprise edition and version number 7.9.1 in that is there any API available for getting information on the license limits like

  • License Expiration date
  • Number of lines of code already utilized
  • Number of lines of code available


see ../web_api/api/editions?internal=true&query=license


Thanks for the API :slight_smile:

You’re welcome :slight_smile:

Is there any way that it works with out Administer system permission to user?

Won’t work, the Web api doc has:

Show information about currently installed license.
Requires ‘Administer System’ permission.

Also note, as this is internal:


1 Like