tcp-outlet delete


ockam tcp-outlet delete [OPTIONS] [ALIAS]

Delete a TCP Outlet. This does not delete any TCP Inlets or Relays that you may have created, you can use ockam tcp-inlet delete and ockam relay delete to delete them.

Arguments

  • [ALIAS] (optional)
    Delete the Outlet with this alias name. If you don't provide an alias, you will be prompted to select from a list of available Outlets to delete

Options

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

  • -y, --yes (optional)
    Run the delete command, without prompting for confirmation. This is useful for scripts

  • -a, --all (optional)
    Delete all the TCP Outlets

Examples

# To delete a TCP outlet given its alias on the default node
$ ockam tcp-outlet delete myoutlet

# To delete a TCP outlet given its alias on a specific node
$ ockam tcp-outlet delete myoutlet --at n1