It's important to first note that cPanel & WHM is not designed to function normally when your license is expired or inactive. Several services and features rely on a valid license to work. I recommend reaching out to our Customer Service department ([email protected]) if you have questions or feedback about your license.
With a valid cPanel license, you can use the following UAPI command to disable HotLink Protection via the command line:
Or, you could manually remove the Mod_Rewrite entries utilized for HotLink Protection from the .htaccess file in the document root of the protected directory. Here's an example of what these entries look like: