Fix token string in v2 API docs (#3259)

Closes influxdata/DAR#238.
pull/3277/head
pierwill 2021-10-19 17:17:28 -05:00 committed by GitHub
parent fa6d734be9
commit 972d617d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@ With most API requests, you'll need to provide a minimum of your InfluxDB URL, O
[Install InfluxDB OSS v2.x](/influxdb/v2.0/install/) or upgrade to
an [InfluxDB Cloud account](/influxdb/cloud/sign-up).
### Authentication
### Authorization
InfluxDB uses [API tokens](/influxdb/v2.0/security/tokens/) to authorize API requests.
1. Before exploring the API, use the InfluxDB UI to
[create an initial API token](/influxdb/v2.0/security/tokens/create-token/) for your application.
2. Include your API token in an `Authentication: Token YOUR_API_TOKEN` HTTP header with each request.
2. Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP header with each request.
{{< code-tabs-wrapper >}}
{{% code-tabs %}}