{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Replace the supplied network matchers for a custom application and create a new version. Omitted matcher lists remain unchanged; send an empty list to clear a matcher type.","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string","examples":["023e105f4ecef8ad9ca31a8372d0c353"],"description":"Account ID."},"id":{"$ref":"#/definitions/alexandria_application_id","description":"Application ID."}},"required":["account_id","id"],"additionalProperties":false},"body":{"$ref":"#/definitions/alexandria_update_application_request"}},"required":["path","body"],"additionalProperties":false,"definitions":{"alexandria_application_id":{"description":"Numeric identifier for the application.","type":"integer","maximum":4294967295,"minimum":0,"examples":[498]},"alexandria_update_application_request":{"description":"Update the network matchers for the application. The service preserves omitted\nmatcher lists; send an empty array to clear a list. The resulting application must\ncontain at least one hostname or IP subnet. Support domains and port/protocol pairs\ndo not satisfy this requirement.\nA NUL character (U+0000) in any string value returns `400`.\n","type":"object","properties":{"hostnames":{"$ref":"#/definitions/alexandria_application_hostnames"},"ip_subnets":{"$ref":"#/definitions/alexandria_application_ip_subnets"},"port_protocols":{"$ref":"#/definitions/alexandria_application_port_protocols"},"support_domains":{"$ref":"#/definitions/alexandria_application_support_domains"}}},"alexandria_application_hostnames":{"description":"Hostnames matched by the application.","type":"array","items":{"type":"string"},"examples":[["example.com","foo.com"]]},"alexandria_application_ip_subnets":{"description":"IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128.","type":"array","items":{"type":"string"},"examples":[["192.168.1.0/24","2001:db8::/48"]]},"alexandria_application_port_protocols":{"description":"Ports matched by the application, in `protocol/port` or inclusive `protocol/start-end` format (for example, `tcp/443` or `udp/10000-20000`). TCP and UDP ports must be between 0 and 65535.","type":"array","items":{"type":"string"},"examples":[["tcp/443","udp/10000-20000"]]},"alexandria_application_support_domains":{"description":"Support domains matched by the application.","type":"array","items":{"type":"string"},"examples":[["example.com","foo.com"]]}}},"name":"Update application","id":"cloudflare.updateresourcelibraryapplication","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","id":498},"body":{}},"maxRequests":1,"summary":false}}