# Directory Protection Directory Management / Directory Protection ## Return Directory Protection settings - [GET /DirectoryProtection/list_directories](https://api.docs.cpanel.net/specifications/cpanel.openapi/directory-protection/directoryprotection-list_directories.md): This function returns the leech protection settings of the subdirectories in a directory.