tcp-connection delete


ockam tcp-connection delete [OPTIONS] <ADDRESS>

Delete a TCP connection

Arguments

  • <ADDRESS>
    TCP connection internal address or socket address

Options

  • --at [NODE_NAME] (optional)
    Perform the command on the given node

  • -y, --yes (optional)
    Confirm the deletion without prompting

Examples

# To delete a TCP connection given its internal address on the default node
$ ockam tcp-connection delete d59c01ab8d9683f8c454df746e627b43

# To delete a TCP connection given its socket address on the default node
$ ockam tcp-connection delete 127.0.0.1:5000

# To delete a TCP connection given its internal address on a specific node
$ ockam tcp-connection delete d59c01ab8d9683f8c454df746e627b43 --at n1