CURL Request to /analytics_engine/sql getting Authorization error

I am getting “Authorization error” on this request. And i am using correct accountId and token for this request.

Also token has permission for account → account analytics ->read

curl -X POST https://api.cloudflare.com/client/v4/accounts/accountId/analytics_engine/sql -H “Authorization: Bearer token” -d “SHOW TABLES”

Doc : https://developers.cloudflare.com/analytics/analytics-engine/sql-api/