{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Fetches IP Access rules of the user. You can filter the results using several optional parameters.","properties":{"query":{"type":"object","properties":{"mode":{"$ref":"#/definitions/firewall_schemas-mode"},"configuration.target":{"description":"Defines the target to search in existing rules.","type":"string","enum":["ip","ip_range","asn","country"],"examples":["ip"]},"configuration.value":{"description":"Defines the target value to search for in existing rules: an IP address, an IP address range, or a country code, depending on the provided `configuration.target`.\nNotes: You can search for a single IPv4 address, an IP address range with a subnet of '/16' or '/24', or a two-letter ISO-3166-1 alpha-2 country code.","type":"string","examples":["198.51.100.4"]},"notes":{"description":"Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.","type":"string","examples":["my note"]},"match":{"description":"Defines the search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.","type":"string","default":"all","enum":["any","all"]},"page":{"description":"Defines the requested page within paginated list of results.","type":"number","examples":[1]},"per_page":{"description":"Defines the maximum number of results requested.","type":"number","examples":[20]},"order":{"description":"Defines the field used to sort returned rules.","type":"string","enum":["configuration.target","configuration.value","mode"],"examples":["mode"]},"direction":{"description":"Defines the direction used to sort returned rules.","type":"string","enum":["asc","desc"],"examples":["desc"]}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false,"definitions":{"firewall_schemas-mode":{"description":"The action to apply to a matched request.","type":"string","enum":["block","challenge","whitelist","js_challenge","managed_challenge"],"examples":["challenge"]}}},"name":"List IP Access rules","id":"cloudflare.ip-access-rules-for-a-user-list-ip-access-rules","example":{},"maxRequests":1,"summary":false}}