{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds one or more targets.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/infra_AccountTag"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"array","items":{"properties":{"hostname":{"description":"A non-unique field that refers to a target. Case insensitive, maximum\nlength of 255 characters, supports the use of special characters dash\nand period, does not support spaces, and must start and end with an\nalphanumeric character.","type":"string","examples":["infra-access-target"]},"ip":{"$ref":"#/definitions/infra_IPInfo"},"tags":{"description":"Optional tags to associate with the target. Keys and values are\nuser-defined strings.","type":["object","null"],"additionalProperties":{"type":"string"}}},"required":["hostname","ip"],"type":"object"}}},"required":["path","body"],"additionalProperties":false,"definitions":{"infra_AccountTag":{"description":"Account identifier","type":"string","maxLength":32,"title":"account_id","examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"infra_IPInfo":{"description":"The IPv4/IPv6 address that identifies where to reach a target","type":"object","properties":{"ipv4":{"description":"The target's IPv4 address","type":"object","properties":{"ip_addr":{"description":"IP address of the target","type":"string","examples":["187.26.29.249"]},"virtual_network_id":{"description":"(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.","type":"string","format":"uuid","examples":["c77b744e-acc8-428f-9257-6878c046ed55"]}}},"ipv6":{"description":"The target's IPv6 address","type":"object","properties":{"ip_addr":{"description":"IP address of the target","type":"string","examples":["64c0:64e8:f0b4:8dbf:7104:72b0:ec8f:f5e0"]},"virtual_network_id":{"description":"(optional) Private virtual network identifier for the target. If omitted, the default virtual network ID will be used.","type":"string","format":"uuid","examples":["c77b744e-acc8-428f-9257-6878c046ed55"]}}}}}}},"name":"Create new targets","id":"cloudflare.infra-targets-put-batch","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":[]},"maxRequests":1,"summary":false}}