Skip to main content

chainmail rule restore

Bring back a deleted rule by its ID; rule list --deleted shows it

Usage​

chainmail rule restore <id>

Examples​

# find the ID of a deleted rule, then restore it by that ID
chainmail rule list --deleted
chainmail rule restore ru_01jcb7m2k9r8q3v4w5x6y7z8a9

Global flags​

--output string output format: json or table (default $CHAINMAIL_OUTPUT, then cli.toml, then table on a terminal, json otherwise)
--socket string daemon socket (default $CHAINMAIL_SOCKET, then cli.toml, then /run/chainmail/chainmail.sock)

See also​