Skip to main content

chainmail item delete

Delete an item, softly; --cascade deletes the items below it too

Usage​

chainmail item delete <id> [flags]

Examples​

chainmail item delete it_01jcb7m2k9r8q3v4w5x6y7z8a9
# the item and every item below it
chainmail item delete it_01jcb7m2k9r8q3v4w5x6y7z8b0 --cascade

Flags​

--cascade also delete every item below it

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​