# Remove Appendices from table of content

I used this code to generate appendices

\documentclass [a4paper,12pt,oneside,final]{book}
\usepackage[title]{appendix}
\begin{document}
\dominitoc
\tableofcontents
\begin{appendices}
\chapter{Appendix A}
\section{aaaa}
\end{appendices}
\end{document}


How i can remove them so they will not appear

any suggestion?

\addtocontents{toc}{\setcounter{tocdepth}{-1}}


at the very beginning of the subappendices environment.

\documentclass [a4paper,12pt,oneside,final]{book}
\usepackage[title]{appendix}
\usepackage{minitoc}

\begin{document}
\dominitoc
\tableofcontents

\begin{appendices}

If chapters, in particular thise for the appendices, are beign \included, it's best to place the line
\addtocontents{toc}{\setcounter{tocdepth}{-1}}

in the subsidiary file just before the \chapter command.