parent
fa6d734be9
commit
972d617d8e
|
@ -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
|
[Install InfluxDB OSS v2.x](/influxdb/v2.0/install/) or upgrade to
|
||||||
an [InfluxDB Cloud account](/influxdb/cloud/sign-up).
|
an [InfluxDB Cloud account](/influxdb/cloud/sign-up).
|
||||||
|
|
||||||
### Authentication
|
### Authorization
|
||||||
|
|
||||||
InfluxDB uses [API tokens](/influxdb/v2.0/security/tokens/) to authorize API requests.
|
InfluxDB uses [API tokens](/influxdb/v2.0/security/tokens/) to authorize API requests.
|
||||||
|
|
||||||
1. Before exploring the API, use the InfluxDB UI to
|
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.
|
[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-wrapper >}}
|
||||||
{{% code-tabs %}}
|
{{% code-tabs %}}
|
||||||
|
|
Loading…
Reference in New Issue