diff --git a/src/cloudflare/resources/firewall/access_rules.py b/src/cloudflare/resources/firewall/access_rules.py index 85dfe5f0f0a..2ac2903cb19 100644 --- a/src/cloudflare/resources/firewall/access_rules.py +++ b/src/cloudflare/resources/firewall/access_rules.py @@ -288,9 +288,9 @@ def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> Optional[AccessRuleEditResponse]: """ - Updates an IP Access rule defined at the account level. + Updates an IP Access rule defined. - Note: This operation will affect all zones in the account. + Note: This operation will affect all zones in the account or zone. Args: configuration: The rule configuration. @@ -662,9 +662,9 @@ async def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> Optional[AccessRuleEditResponse]: """ - Updates an IP Access rule defined at the account level. + Updates an IP Access rule defined. - Note: This operation will affect all zones in the account. + Note: This operation will affect all zones in the account or zone. Args: configuration: The rule configuration. diff --git a/src/cloudflare/resources/rulesets/rules.py b/src/cloudflare/resources/rulesets/rules.py index aa117100979..c7c92424969 100644 --- a/src/cloudflare/resources/rulesets/rules.py +++ b/src/cloudflare/resources/rulesets/rules.py @@ -436,7 +436,7 @@ def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -497,7 +497,7 @@ def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -558,7 +558,7 @@ def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -619,7 +619,7 @@ def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -1133,7 +1133,7 @@ async def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -1194,7 +1194,7 @@ async def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -1255,7 +1255,7 @@ async def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset. @@ -1316,7 +1316,7 @@ async def edit( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> RulesetsRulesetResponse: """ - Updates an existing rule in an account ruleset. + Updates an existing rule in an account or zone ruleset. Args: ruleset_id: The unique ID of the ruleset.