Web api to add users to quality profile via api

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
    Sonarqube version : 7.7
    what are you trying to achieve : I am able to create custom quality profiles via the api and i would like to grant permissions to users to the newly created quality profile. Please let me know if the same can be done via Api request.

Hey there.

If tick the Show Internal API box on the Web API documentation, you’ll see a few Web APIs under the api/qualityprofiles domain that do the trick (POST api/qualityprofiles/add_group and POST api/qualityprofiles/add_user)

Also, get yourself upgraded to the current LTS, SonarQube v7.9! Currently, this is the minimum supported version of SonarQube.

Thanks @Colin , will try the same.