SonarCloud API - authentication using token

Hi, so far, in the documentation read to use SonarCloud API, the only way of authentication seems to be basic HTTP.

Is there a way to use an API token for authentication instead of using the users credentials?



How to make use of a token when using the Web API is documented here. Simply pass your generated token into the login field and omit any password.

An example:

curl -u mytokenhere123:



Thanks a lot for the prompt response!

@Colin - I dont mean to necro post, but SonarCloud has an API reference site thats really incomplete and probably creating confusion and questions. It doesnt help that its the first result when googling for “sonarcloud api”