Skip to content

Commit

Permalink
Added X-Auth-Token option (cloudflare#3075)
Browse files Browse the repository at this point in the history
* Added X-Auth-Token option

* Corrected API token

* Correct API token
  • Loading branch information
angelampcosta authored Jan 6, 2022
1 parent 8e4bc8f commit bd67b23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions products/logs/src/content/logpull/requesting-logs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ The following headers are required for all endpoint calls:
* `X-Auth-Email` - the Cloudflare account email address associated with the domain
* `X-Auth-Key` - the Cloudflare API key

Alternatively, API tokens with Logs Edit permissions can also be used for authentication:

* `Authorization: Bearer <REDACTED>`

## Parameters

The API expects endpoint parameters in the GET request query string. See the example formats below.
Expand Down

0 comments on commit bd67b23

Please sign in to comment.