diff --git a/content/logs/logpull/enabling-log-retention/index.md b/content/logs/logpull/enabling-log-retention/index.md index 973f655ed567eaa..fd13149da38ab02 100644 --- a/content/logs/logpull/enabling-log-retention/index.md +++ b/content/logs/logpull/enabling-log-retention/index.md @@ -26,7 +26,7 @@ To make a `POST` call, you must have zone-scoped `edit` permissions, such as Sup ### Check whether log retention is turned on: ```sh -$ curl -s -H "X-Auth-Email: " -H "X-Auth-Key: " GET "https://api.cloudflare.com/client/v4/zones//logs/control/retention/flag" | jq . +$ curl -s -H "X-Auth-Email: " -H "X-Auth-Key: " -X GET "https://api.cloudflare.com/client/v4/zones//logs/control/retention/flag" | jq . ``` #### Response: @@ -47,7 +47,7 @@ $ curl -s -H "X-Auth-Email: " -H "X-Auth-Key: " GET "https://api On Linux or macOS: ```bash -curl -s -H "X-Auth-Email: " -H "X-Auth-Key: " POST "https://api.cloudflare.com/client/v4/zones//logs/control/retention/flag" -d'{"flag":true}' | jq . +curl -s -H "X-Auth-Email: " -H "X-Auth-Key: " -X POST "https://api.cloudflare.com/client/v4/zones//logs/control/retention/flag" -d'{"flag":true}' | jq . ``` On Windows in Command Prompt: