SonarCloud API - authentication using token

(Ben Meneses Sosa) #1

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?


(Colin Mueller) #2


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:


(Ben Meneses Sosa) #3

Thanks a lot for the prompt response!