Our SonarQube version is 6.7.4.
I tried to use Web API to create/add users and groups, just like what we can do via GUI.
I am using a shell script to automate that so everytime when we install a new instance of SonarQube in an environment (such as Dev, QA, etc.) I can automatically create/add some standard users/groups. I know we can do that through GUI. However, we want to automate that through Web API.
I see that’s an archive. Could you verify if the above is still working? Or please guide me the exact curl I need to do in order to create a user thru Web API?
Hi, I was reading this post above, about creating users and groups, but i cant figure out how to create groups. I was wondering this command only works to create a user.
I am a system administrator on my installation of sonarqube and I need to create a bunch of groups and apply some permissions on that.
What is the command to create a group, please.
Please don’t apologize for your English! It’s both fine, and the only requirement to post here is that we understand you.
You’ll find Web API documentation linked in the footer of your SonarQube instance, and an api/groups domain similar to api/users. You can find details about the Web API as it applies to groups there.
I’ve created a group using this command below. Now, I’m trying to understand, how to add this group in to a Permission Template… and then create a script to make all this things work automatically.