Skip to content

Commit 44eeff9

Browse files
angelampcostathomasgauvin
authored andcommitted
[Log Explorer] Updates endpoint (#23867)
* Updates endpoint * Corrects endopoint
1 parent e264ca3 commit 44eeff9

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/log-explorer

1 file changed

+1
-1
lines changed

src/content/docs/log-explorer/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This command returns the following HTTP request details:
5252
As another example, you could find Cloudflare Access requests with selected columns from a specific timeframe by performing the following SQL query:
5353

5454
```bash
55-
curl https://api.cloudflare.com/client/v4/account/{account_id}/logs/explorer/query/sql \
55+
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/logs/explorer/query/sql \
5656
--header "Authorization: Bearer <API_TOKEN>" \
5757
--url-query query="SELECT CreatedAt, AppDomain, AppUUID, Action, Allowed, Country, RayID, Email, IPAddress, UserUID FROM access_requests WHERE Date >= '2025-02-06' AND Date <= '2025-02-06' AND CreatedAt >= '2025-02-06T12:28:39Z' AND CreatedAt <= '2025-02-06T12:58:39Z'"
5858
```

0 commit comments

Comments
 (0)