{
"settings": {
"activity_log": {
"enabled": true
},
"antivirus": {
"enabled_download_phase": false,
"enabled_upload_phase": false,
"fail_closed": false
},
"block_page": {
"background_color": "string",
"enabled": true,
"footer_text": "--footer--",
"header_text": "--header--",
"logo_path": "https://logos.com/a.png",
"mailto_address": "admin@example.com",
"mailto_subject": "Blocked User Inquiry",
"name": "Cloudflare",
"suppress_footer": false
},
"browser_isolation": {
"url_browser_isolation_enabled": true
},
"custom_certificate": {
"enabled": true,
"id": "d1b364c5-1311-466e-a194-f0e943e0799f"
},
"fips": {
"tls": true
},
"tls_decrypt": {
"enabled": true
}
}
}
curl --location --request PUT 'https://api.cloudflare.com/client/v4/accounts//gateway/configuration' \
--header 'Content-Type: application/json' \
--data-raw '{
"settings": {
"activity_log": {
"enabled": true
},
"antivirus": {
"enabled_download_phase": false,
"enabled_upload_phase": false,
"fail_closed": false
},
"block_page": {
"background_color": "string",
"enabled": true,
"footer_text": "--footer--",
"header_text": "--header--",
"logo_path": "https://logos.com/a.png",
"mailto_address": "admin@example.com",
"mailto_subject": "Blocked User Inquiry",
"name": "Cloudflare",
"suppress_footer": false
},
"browser_isolation": {
"url_browser_isolation_enabled": true
},
"custom_certificate": {
"enabled": true,
"id": "d1b364c5-1311-466e-a194-f0e943e0799f"
},
"fips": {
"tls": true
},
"tls_decrypt": {
"enabled": true
}
}
}'