Question regarding API Tokens in WHM · cPanel & WHM Developer Portal
Do I simply need to set service subdomains to "off" under tweak settings to restrict all WHM API calls to port 2087 only, or do I need to do more?
(I wish to restrict API calls to port 2087 so I can use firewall controls to restrict access to specific IPs for an additional layer of security.)
I would like to restrict API calls to only port 2087 and disallow any API call on port 443 or any port other than 2087.API calls using a method that includes a URL must use one the following ports:
- 2087 - Secure calls to WHM's APIs, or to cPanel's APIs via the WHM API.
- 443 - Secure calls to WHM's APIs, or to cPanel's APIs via the WHM API through a service subdomain.
Do I simply need to set service subdomains to "off" under tweak settings to restrict all WHM API calls to port 2087 only, or do I need to do more?
(I wish to restrict API calls to port 2087 so I can use firewall controls to restrict access to specific IPs for an additional layer of security.)