\hypertarget{md_doc_help_kdb_rm_autotoc_md2736}{}\doxysection{SYNOPSIS}\label{md_doc_help_kdb_rm_autotoc_md2736}
{\ttfamily kdb rm $<$path$>$}

Where {\ttfamily path} is the path of the key(s) you want to remove. Note that when using the {\ttfamily -\/r} flag, not only the key directly at {\ttfamily path} will be removed, but all of the keys below the path as well.\hypertarget{md_doc_help_kdb_rm_autotoc_md2737}{}\doxysection{DESCRIPTION}\label{md_doc_help_kdb_rm_autotoc_md2737}
This command removes key(s) from the Key database.\hypertarget{md_doc_help_kdb_rm_autotoc_md2738}{}\doxysection{RETURN VALUES}\label{md_doc_help_kdb_rm_autotoc_md2738}
This command will return the following values as an exit status\+:


\begin{DoxyItemize}
\item 0\+: No errors.
\item 1-\/10\+: standard exit codes, see \mbox{\hyperlink{md_doc_help_kdb}{kdb(1)}}
\item 11\+: No key to remove found.
\end{DoxyItemize}\hypertarget{md_doc_help_kdb_rm_autotoc_md2739}{}\doxysection{OPTIONS}\label{md_doc_help_kdb_rm_autotoc_md2739}

\begin{DoxyItemize}
\item {\ttfamily -\/H}, {\ttfamily -\/-\/help}\+: Show the man page.
\item {\ttfamily -\/V}, {\ttfamily -\/-\/version}\+: Print version info.
\item {\ttfamily -\/p}, {\ttfamily -\/-\/profile $<$profile$>$}\+: Use a different kdb profile.
\item {\ttfamily -\/C}, {\ttfamily -\/-\/color $<$when$>$}\+: Print never/auto(default)/always colored output.
\item {\ttfamily -\/r}, {\ttfamily -\/-\/recursive}\+: Work in a recursive mode.
\item {\ttfamily -\/E}, {\ttfamily -\/-\/without-\/elektra}\+: Omit the {\ttfamily system\+:/elektra} directory.
\item {\ttfamily -\/f}, {\ttfamily -\/-\/force}\+: Do not fail on missing key, nor print if there was a key (-\/v to still print).
\item {\ttfamily -\/v}, {\ttfamily -\/-\/verbose}\+: Explain what is happening. Prints additional information in case of errors/warnings.
\item {\ttfamily -\/d}, {\ttfamily -\/-\/debug}\+: Give debug information. Prints additional debug information in case of errors/warnings.
\end{DoxyItemize}\hypertarget{md_doc_help_kdb_rm_autotoc_md2740}{}\doxysection{EXAMPLES}\label{md_doc_help_kdb_rm_autotoc_md2740}
To remove a single key\+:~\newline
 {\ttfamily kdb rm user\+:/example/key1}

To remove multiple keys\+:~\newline
 {\ttfamily kdb rm -\/r user\+:/example}

To remove all keys in {\ttfamily system} except {\ttfamily system\+:/elektra}\+:~\newline
 {\ttfamily sudo kdb rm -\/rE system}

To not fail when key is missing\+:~\newline
 {\ttfamily kdb rm -\/f user\+:/maybe/missing}\hypertarget{md_doc_help_kdb_rm_autotoc_md2741}{}\doxysection{SEE ALSO}\label{md_doc_help_kdb_rm_autotoc_md2741}

\begin{DoxyItemize}
\item \mbox{\hyperlink{md_doc_help_elektra_key_names}{elektra-\/key-\/names(7)}} for an explanation of key names. 
\end{DoxyItemize}