Restoring administrator access

This page explains how to recover administrator access to a project of your SonarQube Cloud organization.

If you lost administrator access to a project of your organization, you can restore it if you’re an organization admin:

  • At the project level. This requires the Browse Project permission in case of a private project.

  • By using the Projects Management page. This is only possible with an Enterprise plan.

  • By using the API.

At the project level

  1. Retrieve your project. See Retrieving projects for more details.

  2. In the left sidebar, select Administration > Restore access. The Restore admin permissions dialog opens.

  3. Select the Restore permissions button. You are now granted the Administer and/or Browse permission for the project.

By using the Projects Management page

This method is only possible with an Enterprise plan organization.

To restore administrator access to a project by using the Projects Management page:

  1. Retrieve your organization. See Retrieving your organizations for more details.

  2. Go to Administration > Projects Management.

  3. In the three-dot menu at the far right of the project line, select Restore access. You will then be granted the Administer and/or Browse permission for the project.

By using the API

Use the add_user API endpointarrow-up-right to grant an organization administrator admin permission to the project. To identify the project, you can use the projectKey (the projectId is optional).

Last updated

Was this helpful?