WHM API 1 / Account Management

WHM API 1 set_primary_domain_docroot

Find the endpoint, CLI syntax and practical purpose of this cPanel command, with a direct link to the official documentation.

What this command does

The cPanel documentation summary for this operation is: Change document root for cPanel account primary domain.

In Hostilla.pl this page helps identify the exact API operation before using automation, reseller integrations or a support request.

Command details

API
WHM API 1 11.136.0.25
Category
Account Management
Method and path
GET /set_primary_domain_docroot
Operation ID
set_primary_domain_docroot
CLI example
whmapi1 set_primary_domain_docroot

Open official cPanel documentation

Hostilla.pl usage notes

WHM API commands can affect server or reseller-level resources. They should be used only by authorized administrators or reseller integrations.

Need this operation for your hosting account? Contact Hostilla.pl support with the account name, domain and expected result. We will help select a safe API path.

Related API navigation