@@ -396,6 +396,7 @@ def update(
396396 zone_id : str ,
397397 ai_bots_protection : Literal ["block" , "disabled" , "only_on_ad_pages" ] | NotGiven = NOT_GIVEN ,
398398 auto_update_model : bool | NotGiven = NOT_GIVEN ,
399+ bm_cookie_enabled : bool | NotGiven = NOT_GIVEN ,
399400 crawler_protection : Literal ["enabled" , "disabled" ] | NotGiven = NOT_GIVEN ,
400401 enable_js : bool | NotGiven = NOT_GIVEN ,
401402 is_robots_txt_managed : bool | NotGiven = NOT_GIVEN ,
@@ -480,6 +481,9 @@ def update(
480481 they are released.
481482 [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)
482483
484+ bm_cookie_enabled: Indicates that the bot management cookie can be placed on end user devices
485+ accessing the site. Defaults to true
486+
483487 crawler_protection: Enable rule to punish AI Scrapers and Crawlers via a link maze.
484488
485489 enable_js: Use lightweight, invisible JavaScript detections to improve Bot Management.
@@ -517,6 +521,7 @@ def update(
517521 sbfm_verified_bots : Literal ["allow" , "block" ] | NotGiven = NOT_GIVEN ,
518522 sbfm_likely_automated : Literal ["allow" , "block" , "managed_challenge" ] | NotGiven = NOT_GIVEN ,
519523 auto_update_model : bool | NotGiven = NOT_GIVEN ,
524+ bm_cookie_enabled : bool | NotGiven = NOT_GIVEN ,
520525 suppress_session_score : bool | NotGiven = NOT_GIVEN ,
521526 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
522527 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -544,6 +549,7 @@ def update(
544549 "sbfm_verified_bots" : sbfm_verified_bots ,
545550 "sbfm_likely_automated" : sbfm_likely_automated ,
546551 "auto_update_model" : auto_update_model ,
552+ "bm_cookie_enabled" : bm_cookie_enabled ,
547553 "suppress_session_score" : suppress_session_score ,
548554 },
549555 bot_management_update_params .BotManagementUpdateParams ,
@@ -976,6 +982,7 @@ async def update(
976982 zone_id : str ,
977983 ai_bots_protection : Literal ["block" , "disabled" , "only_on_ad_pages" ] | NotGiven = NOT_GIVEN ,
978984 auto_update_model : bool | NotGiven = NOT_GIVEN ,
985+ bm_cookie_enabled : bool | NotGiven = NOT_GIVEN ,
979986 crawler_protection : Literal ["enabled" , "disabled" ] | NotGiven = NOT_GIVEN ,
980987 enable_js : bool | NotGiven = NOT_GIVEN ,
981988 is_robots_txt_managed : bool | NotGiven = NOT_GIVEN ,
@@ -1060,6 +1067,9 @@ async def update(
10601067 they are released.
10611068 [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)
10621069
1070+ bm_cookie_enabled: Indicates that the bot management cookie can be placed on end user devices
1071+ accessing the site. Defaults to true
1072+
10631073 crawler_protection: Enable rule to punish AI Scrapers and Crawlers via a link maze.
10641074
10651075 enable_js: Use lightweight, invisible JavaScript detections to improve Bot Management.
@@ -1097,6 +1107,7 @@ async def update(
10971107 sbfm_verified_bots : Literal ["allow" , "block" ] | NotGiven = NOT_GIVEN ,
10981108 sbfm_likely_automated : Literal ["allow" , "block" , "managed_challenge" ] | NotGiven = NOT_GIVEN ,
10991109 auto_update_model : bool | NotGiven = NOT_GIVEN ,
1110+ bm_cookie_enabled : bool | NotGiven = NOT_GIVEN ,
11001111 suppress_session_score : bool | NotGiven = NOT_GIVEN ,
11011112 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
11021113 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1124,6 +1135,7 @@ async def update(
11241135 "sbfm_verified_bots" : sbfm_verified_bots ,
11251136 "sbfm_likely_automated" : sbfm_likely_automated ,
11261137 "auto_update_model" : auto_update_model ,
1138+ "bm_cookie_enabled" : bm_cookie_enabled ,
11271139 "suppress_session_score" : suppress_session_score ,
11281140 },
11291141 bot_management_update_params .BotManagementUpdateParams ,
0 commit comments