Skip to content

Instantly share code, notes, and snippets.

@kyouheicf
Created October 3, 2023 01:28
Show Gist options
  • Save kyouheicf/505857933e31991335f7721d63d6a5dc to your computer and use it in GitHub Desktop.
Save kyouheicf/505857933e31991335f7721d63d6a5dc to your computer and use it in GitHub Desktop.
export EMAIL=''
export APIKEY=''
export ZONE_ID=''
curl --request PUT \
--url https://api.cloudflare.com/client/v4/zones/$ZONE_ID/cache/origin_post_quantum_encryption \
--header 'Content-Type: application/json' \
-H "X-Auth-Email: $EMAIL" \
-H "X-Auth-Key: $APIKEY" \
--data '{"value": "preferred"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment