Add user to organization via Web API

Hi,

is it possible to add users to your sonarcloud organization via Web API? I only found how to add them to groups if they’re already in the organization. Maybe I’m missing something.

Regards,
Daniel

Hi,

This is not possible at the moment since the users need to have a login footprint on our system, using a supported Identity Provider.

However, if you are using GitHub, you have the possibility to synchronize the users of the organization into SonarCloud. (You check the doc here if it’s your case)

HTH,
Mickaël

What about users that have already a footprint in sonarcloud. Is there an existing api which allow to add members to an org?

One more question, I am using sonarcloud with the largest plan (20 M LOC) and having more than 700 apps and 5000 users. I want to automate the provisioning of projects, user groups, users and permissions, is there any existing tool for that? Or the only way is to write custom tools using th web api?

2 Likes