# ModSecurity The ModSecurity module for UAPI. ## Disable ModSecurity for all domains - [GET /ModSecurity/disable_all_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/disable_all_domains.md): This function disables ModSecurity™ on a cPanel account's domains. When you disable the WebServer role, the system this function. ## Disable ModSecurity for selected domains - [GET /ModSecurity/disable_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/disable_domains.md): This function disables ModSecurity™ on specified domains. When you disable the WebServer role, the system this function. ## Enable ModSecurity for all domains - [GET /ModSecurity/enable_all_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/enable_all_domains.md): This function enables ModSecurity™ on a cPanel account's domains. When you disable the WebServer role, the system this function ## Enable ModSecurity for selected domains - [GET /ModSecurity/enable_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/enable_domains.md): This function enables ModSecurity™ for specified domains. When you disable the WebServer role, the system this function. ## Return ModSecurity installation status - [GET /ModSecurity/has_modsecurity_installed](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/has_modsecurity_installed.md): This function checks whether ModSecurity™ is installed on a server. When you disable the Web Server role, the system this function. ## Return ModSecurity domains' status - [GET /ModSecurity/list_domains](https://api.docs.cpanel.net/specifications/cpanel.openapi/modsecurity/modsecurity-list_domains.md): This function returns ModSecurity's™ status for a cPanel account's domains. When you disable the WebServer role, the system this function.