read:analytics
Verb: read
Resource: analytics
Use
import { SCOPES, requireScope } from "@platform/scopes";
app.use("/v1/analytics/*", requireScope(SCOPES.READ_ANALYTICS));Granted via
This scope is granted to a token through one of:
- The user explicitly approved it on the consent screen when an app requested it
- The user has an admin role that includes it (M2M client_credentials, admin staff)
- A higher-privilege scope (
manage:analyticsoradmin:*) satisfies it