Issue with permissions set via API

Hello all,
I have a Sonarcloud organization mapped with an Azure DevOps organization.
I added a DevOps project to my Sonarcloud organization. However I made a mistake with the permission settings to that project → it disappeared from the web dashboard (Projects view).

The project is well listed if I retrieve it via the following API call:

However if I try to add permissions to the project I get a 204 and no update (the token I use in the Bearer has admin rights to the Sonarcloud org):
curl --location --request POST ‘https://sonarcloud.io/api/permissions/add_user?organization=XXX&login=johndoe&projectKey=PROJECT&permission=admin
–header ‘Authorization: Bearer 6b54…903’

Similarly I can not delete the project via the API.
Anyone has a clue of what I am doing wrong ?
Thanks in advance for your help.

Hey there.

You’ll also have to add the user permission (called Browse in the UI), alongside admin, to be able to view the project in SonarQube Cloud.