File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/content/partials/logs Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import { TabItem, Tabs } from "~/components";
99
1010``` bash
1111curl https://api.cloudflare.com/client/v4/zones/{zone_id}/logs/control/retention/flag \
12+ --request POST \
1213--header " Authorization: Bearer <API_TOKEN>" \
1314--header " Content-Type: application/json" \
1415--data ' {"flag": true}'
@@ -18,6 +19,7 @@ curl https://api.cloudflare.com/client/v4/zones/{zone_id}/logs/control/retention
1819
1920``` txt
2021curl.exe "https://api.cloudflare.com/client/v4/zones/{zone_id}/logs/control/retention/flag" ^
22+ --request POST ^
2123--header "Authorization: Bearer <API_TOKEN>" ^
2224--header "Content-Type: application/json" ^
2325--data "{""flag"": true}"
@@ -32,4 +34,4 @@ $bodyFlag = @{flag = $true} | ConvertTo-Json
3234Invoke-RestMethod -Uri $uri -Method Post -Headers $headers -Body $bodyFlag -ContentType "application/json"
3335```
3436
35- </TabItem > </Tabs >
37+ </TabItem > </Tabs >
You can’t perform that action at this time.
0 commit comments