I have created a service account on pmm server using UI.
Generated a token for this service account, and now want to use the API using token to fetch queres.
curl -H “Authorization: Bearer token_xxxxxx” “https://pmm-prod.xyz.com/v1/queries/summary”
{“code”:7,“error”:“Access denied.”,“message”:“Access denied.”}
Any help or suggestions will help me a lot.