Oko/Docs

Command reference

oko contact mail remove

Withdraws the declared mail provider; the key file is left where it is, and an ask on the `mail` channel is from then on a failed delivery naming the command that declares one.

Invocation#

Command
oko contact mail remove [--json]

Inputs and options#

  • None.

Output and state effect#

  • Prints `the mail provider at <endpoint> is withdrawn`, or `no mail provider was declared in <path>` when there was none; with --json, the withdrawn provider or `null`.

Refusals and safe exits#

  • `oko contact mail remove takes only flags; it was given <word>, …` (exit 2).

CLI reference#