cPanel & WHM Version 108 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Expand the API to provide a function to toggle a domain's "userdirprotect" preference.

cPTrevor shared this idea 7 years ago
Open Discussion

At the moment, WHM API 1 provides a function to check a variety of userdata settings from the command line that's pretty useful ( )

However, each of the individual settings must be changed in their own various ways, and there's not one modify-domainuserdata API function to complement this one.

While a generalized function would be useful (and can hopefully be considered in time!), we recently wanted to update the "userdirprotect" value from the API so users could have only temporary access to those links, but found it requires modifying the files manually, rebuilding Apache's configuration, and restarting the service to take effect:

Please consider expanding the API to enable a cPanel provided way to modify our userdirprotect settings.

Leave a Comment
Attach a file