SonarCloud | Administering your SonarCloud | Managing organization's projects | Managing project permissions | Restoring administrator access
Restoring administrator access to a project of your 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.
- By using the Projects Management page. This is only possible with an Enterprise plan organization.
- By using the API.
At the project level
- Retrieve the project.
- In the left sidebar, select Administration > Restore access. The Restore admin permissions dialog opens.
- 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:
- Retrieve the Enterprise plan organization.
- Go to Administration > Projects Management.
- 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 endpoint to grant an organization administrator admin
permission to the project. To identify the project, you can use the projectKey
(the projectId
is optional).
Related pages
Was this page helpful?