{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates an IP Access rule defined at the user level. You can only update the rule action (`mode` parameter) and notes.","properties":{"path":{"type":"object","properties":{"rule_id":{"$ref":"#/definitions/firewall_rule_identifier"}},"required":["rule_id"],"additionalProperties":false},"body":{"type":"object","properties":{"mode":{"allOf":[{"$ref":"#/definitions/firewall_schemas-mode"}]},"notes":{"$ref":"#/definitions/firewall_notes"}}}},"required":["path","body"],"additionalProperties":false,"definitions":{"firewall_rule_identifier":{"description":"Unique identifier for a rule.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"firewall_schemas-mode":{"description":"The action to apply to a matched request.","type":"string","enum":["block","challenge","whitelist","js_challenge","managed_challenge"],"examples":["challenge"]},"firewall_notes":{"description":"An informative summary of the rule, typically used as a reminder or explanation.","type":"string","examples":["This rule is enabled because of an event that occurred on date X."]}}},"name":"Update an IP Access rule","id":"cloudflare.ip-access-rules-for-a-user-update-an-ip-access-rule","example":{"path":{"rule_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{}},"maxRequests":1,"summary":false}}