{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Removes all existing items from the list and adds the provided items to the list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.","properties":{"path":{"type":"object","properties":{"list_id":{"$ref":"#/definitions/lists_list_id"},"account_id":{"$ref":"#/definitions/lists_account_id"}},"required":["list_id","account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/lists_items-update-request-collection"}},"required":["path","body"],"additionalProperties":false,"definitions":{"lists_list_id":{"description":"The unique ID of the list.","type":"string","maxLength":32,"minLength":32,"examples":["2c0fc9fa937b11eaa1b71c4d701ab86e"]},"lists_account_id":{"description":"The Account ID for this resource.","type":"string","maxLength":32,"minLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"lists_items-update-request-collection":{"type":"array","items":{"oneOf":[{"$ref":"#/definitions/lists_list_item_ip_comment"},{"$ref":"#/definitions/lists_list_item_redirect_comment"},{"$ref":"#/definitions/lists_list_item_hostname_comment"},{"$ref":"#/definitions/lists_list_item_asn_comment"}]}},"lists_list_item_ip_comment":{"allOf":[{"$ref":"#/definitions/lists_list_item_ip_object"},{"$ref":"#/definitions/lists_item_comment_object"}]},"lists_list_item_redirect_comment":{"allOf":[{"$ref":"#/definitions/lists_list_item_redirect_object"},{"$ref":"#/definitions/lists_item_comment_object"}]},"lists_list_item_hostname_comment":{"allOf":[{"$ref":"#/definitions/lists_list_item_hostname_object"},{"$ref":"#/definitions/lists_item_comment_object"}]},"lists_list_item_asn_comment":{"allOf":[{"$ref":"#/definitions/lists_list_item_asn_object"},{"$ref":"#/definitions/lists_item_comment_object"}]},"lists_list_item_ip_object":{"type":"object","properties":{"ip":{"$ref":"#/definitions/lists_item_ip"}},"required":["ip"]},"lists_item_comment_object":{"type":"object","properties":{"comment":{"$ref":"#/definitions/lists_item_comment"}}},"lists_list_item_redirect_object":{"type":"object","properties":{"redirect":{"$ref":"#/definitions/lists_item_redirect"}},"required":["redirect"]},"lists_list_item_hostname_object":{"type":"object","properties":{"hostname":{"$ref":"#/definitions/lists_item_hostname"}},"required":["hostname"]},"lists_list_item_asn_object":{"type":"object","properties":{"asn":{"$ref":"#/definitions/lists_item_asn"}},"required":["asn"]},"lists_item_ip":{"description":"An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR.","type":"string","examples":["10.0.0.1"]},"lists_item_comment":{"description":"Defines an informative summary of the list item.","type":"string","examples":["Private IP address"]},"lists_item_redirect":{"description":"The definition of the redirect.","properties":{"include_subdomains":{"type":"boolean","default":false},"preserve_path_suffix":{"type":"boolean","default":true},"preserve_query_string":{"type":"boolean","default":false},"source_url":{"type":"string","examples":["example.com/arch"]},"status_code":{"type":"integer","default":301,"enum":[301,302,307,308]},"subpath_matching":{"type":"boolean","default":false},"target_url":{"type":"string","examples":["https://archlinux.org/"]}},"required":["source_url","target_url"]},"lists_item_hostname":{"description":"Hostnames support ASCII(7) letters from a to z, the digits from 0 to 9, wildcards (*), and the hyphen (-).","properties":{"exclude_exact_hostname":{"description":"Only applies to wildcard hostnames (e.g., *.example.com). When true (default), the rule blocks only subdomains. When false, the rule blocks both the root domain and subdomains.","type":"boolean","examples":[true]},"url_hostname":{"type":"string","examples":["example.com"]}},"required":["url_hostname"]},"lists_item_asn":{"description":"Defines a non-negative 32 bit integer.","type":"integer","examples":[5567]}}},"name":"Update all list items","id":"cloudflare.lists-update-all-list-items","example":{"path":{"list_id":"2c0fc9fa937b11eaa1b71c4d701ab86e","account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":[]},"maxRequests":1,"summary":false}}