fix: Authorization, not Authentication, header (#3342)
(closes https://github.com/influxdata/DAR/issues/241)pull/3348/head
parent
2bddffb52b
commit
754d1a1bef
|
@ -0,0 +1,4 @@
|
|||
trailingComma: "es5"
|
||||
tabWidth: 2
|
||||
semi: true
|
||||
singleQuote: true
|
|
@ -5949,7 +5949,7 @@ components:
|
|||
within the organization.
|
||||
|
||||
|
||||
Include your API token in an `Authentication: Token YOUR_API_TOKEN` HTTP
|
||||
Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP
|
||||
header with each request.
|
||||
|
||||
|
||||
|
@ -5957,7 +5957,7 @@ components:
|
|||
|
||||
|
||||
`curl https://us-east-1-1.aws.cloud2.influxdata.com/
|
||||
--header "Authentication: Token YOUR_API_TOKEN"`
|
||||
--header "Authorization: Token YOUR_API_TOKEN"`
|
||||
|
||||
For more information and examples, see the following:
|
||||
- [Use tokens in API requests](https://docs.influxdata.com/influxdb/cloud/api-guide/api_intro/#authentication).
|
||||
|
|
|
@ -7,12 +7,12 @@ TokenAuthentication:
|
|||
|
||||
InfluxDB API tokens ensure secure interaction between users and data. A token belongs to an organization and identifies InfluxDB permissions within the organization.
|
||||
|
||||
Include your API token in an `Authentication: Token YOUR_API_TOKEN` HTTP header with each request.
|
||||
Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP header with each request.
|
||||
|
||||
### Example
|
||||
|
||||
`curl https://us-east-1-1.aws.cloud2.influxdata.com/
|
||||
--header "Authentication: Token YOUR_API_TOKEN"`
|
||||
--header "Authorization: Token YOUR_API_TOKEN"`
|
||||
|
||||
For more information and examples, see the following:
|
||||
- [Use tokens in API requests](https://docs.influxdata.com/influxdb/cloud/api-guide/api_intro/#authentication).
|
||||
|
|
|
@ -7,12 +7,12 @@ TokenAuthentication:
|
|||
|
||||
InfluxDB API tokens ensure secure interaction between users and data. A token belongs to an organization and identifies InfluxDB permissions within the organization.
|
||||
|
||||
Include your API token in an `Authentication: Token YOUR_API_TOKEN` HTTP header with each request.
|
||||
Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP header with each request.
|
||||
|
||||
### Example
|
||||
|
||||
`curl http://localhost:8086/ping
|
||||
--header "Authentication: Token YOUR_API_TOKEN"`
|
||||
--header "Authorization: Token YOUR_API_TOKEN"`
|
||||
|
||||
For more information and examples, see the following:
|
||||
- [Use tokens in API requests](https://docs.influxdata.com/influxdb/v2.0/api-guide/api_intro/#authentication).
|
||||
|
|
|
@ -13516,14 +13516,14 @@ components:
|
|||
within the organization.
|
||||
|
||||
|
||||
Include your API token in an `Authentication: Token YOUR_API_TOKEN` HTTP
|
||||
Include your API token in an `Authorization: Token YOUR_API_TOKEN` HTTP
|
||||
header with each request.
|
||||
|
||||
|
||||
### Example
|
||||
|
||||
`curl http://localhost:8086/ping
|
||||
--header "Authentication: Token YOUR_API_TOKEN"`
|
||||
--header "Authorization: Token YOUR_API_TOKEN"`
|
||||
|
||||
For more information and examples, see the following:
|
||||
- [Use tokens in API requests](https://docs.influxdata.com/influxdb/v2.0/api-guide/api_intro/#authentication).
|
||||
|
|
Loading…
Reference in New Issue