Automate SonarQube access to users, groups

Hi Team, This is my First Post in Sonar Community.
we are using Sonarqube DC LTS 8.9.7 version with sonar-groovy-1.8 plugin.

Is there any alternative way to add users, groups and permissions to groups and create projects with out web API ?

please share if any sample docs or scripts are available. Thank you.


Are you delegating authentication? When you do, users are created on first login. And if you choose to enable group mapping, that will happen automatically too. (Docs)

If you want to provision users before the fist login, you’ll probably want to do that using the Web APIs.

The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.