You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/r2-sql/query-data.mdx
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,10 @@ To query data with R2 SQL, you must provide a Cloudflare API token with R2 SQL,
72
72
73
73
### Create API token in the dashboard
74
74
75
-
Create an [R2 API token](/r2/api/tokens/#permissions) with **Admin Read only** permission. This permission includes:
75
+
Create an [R2 API token](/r2/api/tokens/#permissions) with the following permissions:
76
76
77
77
- Access to R2 Data Catalog (read-only)
78
-
- Access to R2 storage (read-only)
78
+
- Access to R2 storage (Admin read/write)
79
79
- Access to R2 SQL (read-only)
80
80
81
81
Use this token value for the `WRANGLER_R2_SQL_AUTH_TOKEN` environment variable when querying with Wrangler, or in the Authorization header when using the REST API.
@@ -96,18 +96,18 @@ To create an API token programmatically for use with R2 SQL, you'll need to spec
0 commit comments