Skip to content

Commit 569cc7b

Browse files
committed
fix(influxdb3): Remove beta note, add token link
1 parent f3ace7c commit 569cc7b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

content/shared/influxdb3-query-guides/execute-queries/influxdb-v1-api.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ Provide the following with your request:
2121

2222
- **Headers:**
2323
- **Authorization:** `Bearer AUTH_TOKEN`
24-
25-
> [!Note]
26-
> While in beta, {{< product-name >}} does not require an authorization
27-
> token. You can either omit this header or include it with an arbitrary
28-
> token string.
29-
3024
- **Query parameters:**
3125
- **db**: the database to query
3226
- **rp**: Optional: the retention policy to query
@@ -44,9 +38,9 @@ curl --get https://{{< influxdb/host >}}/query \
4438
Replace the following configuration values:
4539

4640
- {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}:
47-
the name of the database to query
41+
the name of the [database](/influxdb3/version/admin/databases/) to query
4842
- {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}:
49-
your authorization token
43+
your {{< product-name >}} {{% token-link %}}{{% show-in "enterprise" %}} with read access to the database{{% /show-in %}}
5044

5145
## Return results as JSON or CSV
5246

@@ -57,7 +51,7 @@ with the `application/csv` or `text/csv` MIME type:
5751
{{% code-placeholders "(DATABASE|AUTH)_(NAME|TOKEN)" %}}
5852
```sh
5953
curl --get https://{{< influxdb/host >}}/query \
60-
--header "Authorization: BEARER AUTH_TOKEN" \
54+
--header "Authorization: Bearer AUTH_TOKEN" \
6155
--header "Accept: application/csv" \
6256
--data-urlencode "db=DATABASE_NAME" \
6357
--data-urlencode "q=SELECT * FROM home"

0 commit comments

Comments
 (0)