{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new device managed network.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/teams-devices_identifier"}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"config":{"allOf":[{"$ref":"#/definitions/teams-devices_schemas-config_request"}]},"name":{"$ref":"#/definitions/teams-devices_device-managed-networks_components-schemas-name"},"type":{"$ref":"#/definitions/teams-devices_components-schemas-type"}},"required":["name","type","config"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"teams-devices_identifier":{"type":"string","examples":["699d98642c564d2e855e9661899b7252"]},"teams-devices_schemas-config_request":{"description":"The configuration object containing information for the WARP client to detect the managed network.","type":"object","oneOf":[{"$ref":"#/definitions/teams-devices_tls_config_request"}],"examples":[{"sha256":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","tls_sockaddr":"foo.bar:1234"}]},"teams-devices_device-managed-networks_components-schemas-name":{"description":"The name of the device managed network. This name must be unique.","type":"string","examples":["managed-network-1"]},"teams-devices_components-schemas-type":{"description":"The type of device managed network.","type":"string","enum":["tls"],"examples":["tls"]},"teams-devices_tls_config_request":{"type":"object","properties":{"sha256":{"description":"The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.","type":"string","examples":["b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c"]},"tls_sockaddr":{"description":"A network address of the form \"host:port\" that the WARP client will use to detect the presence of a TLS host.","type":"string","examples":["foobar:1234"]}},"required":["tls_sockaddr"]}}},"name":"Create a device managed network","id":"cloudflare.device-managed-networks-create-device-managed-network","example":{"path":{"account_id":"699d98642c564d2e855e9661899b7252"},"body":{"name":"managed-network-1","type":"tls","config":{"sha256":"b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c","tls_sockaddr":"foo.bar:1234"}}},"maxRequests":1,"summary":false}}