Meet_Dhami
(Meet Dhami)
1
I have created Scoped Organization Tokens and want to use in postman, Also checked that i have all the permission on the sonarclod.io
I am using this endpoint
https://api.sonarcloud.io/projects/projects?organizationIds=<org_id>
– header Authorization: Bearer <Scoped Organization Tokens>
every time getting 403 with this message
{
"message": "Authentication type not recognized"
}
api web_api_v2 web_api
Colin
(Colin)
2
Hey there.
As noted when you create the token:

For now, SOTs can only be used for analysis, not for calling all API endpoints.
Meet_Dhami
(Meet Dhami)
3
So for the API, can we only use a Personal Access Token, and not a SOTs?
Meet_Dhami
(Meet Dhami)
5
Thanks for the confirmation