Changing the organization settings
You must be an organization admin to perform the procedures described below.
Changing organization details
You can:
- Change the organization name displayed on SonarQube Cloud UI.
- Add or change the avatar. The avatar is a small image representing the organization and displayed on the UI near the organization's name.
- Add or change the organization description.
- Add or change the URL of the homepage of the organization displayed on the UI.
Proceed as follows:
- Retrieve the organization.
- Go to Administration > Organization settings > General > Organization details.
- Edit the field value(s).
- Select Save.
Changing the organization key
The organization key is set when you import the organization into SonarQube Cloud. At that point, you can choose your own key or accept the suggested key. In some cases, you may later wish to change this key (for example, if a new naming convention is adopted at your company, or if you initially chose a bad key by accident).
The organization key is used in CI-based analysis setups to link the analysis produced by the scanner in your local or cloud-based build environment with the correct organization in SonarQube Cloud. It appears as the value of the sonar.organization
parameter in your analysis configuration.
To change the key of your organization:
- Retrieve the organization.
- Go to Administration > Organization settings > General > Edit organization key.
- In Key, enter your new key, and select Save.
- Make the same change to the
sonar.organization
setting of every project in the organization that is configured for CI-based analysis, or inform the respective project administrators.
Allowing only private projects in an organization
In a Team or Enterprise plan organization, you can restrict project creation to private projects only. If public projects belong to the organization, you must make them private first: see Changing the project's visibility.
To allow only private projects in your organization:
- Retrieve the organization.
- Go to Administration > Organization settings > General > Only allow private projects.
- Select the Only allow private projects checkbox.
- Select Save.
Changing the token used to connect to GitLab or Azure DevOps organization
To change the personal access token used to connect to your GitLab or Azure DevOps organization:
- Retrieve the organization.
- Go to Administration > Organization settings > Organization binding.
- In Current binding, select the Edit token button.
Related pages
- Binding an unbound organization
- Importing a GitHub organization or your personal account
- Importing a Bitbucket Cloud workspace
- Importing a GitLab group
- Importing an Azure DevOps organization
- Importing organizations from multiple DevOps platforms using the same account
- Creating an organization manually
- Deleting an organization
Was this page helpful?