Archive for the tag 'API'

cPanel Version 11.25 XML API Functions

Version 11.25 adds 16 new XML API functions to better integrate cPanel/WHM with custom software.

New API functions:

View information about a domain
Add a DNS zone record
Edit a DNS zone record
View all DNS zone records for a domain
Remove a DNS zone record
Reset a DNS zone record to the settings found in httpd.conf
Assign a reseller IP addresses
Set reseller limits
Set a reseller’s main IP address
Define reseller packages
Suspend a reseller’s account
Unsuspend a reseller’s account
View information about a reseller’s accounts
Define a reseller’s nameservers
Configure a service
Change the IP address of a domain

Switch the power user mode off through API RPC:

Send the following request packet to the server:

[packet version="1.6.3.0"]
[server]
[set]
[mode]standard[/mode]
[/set]
[/server]
[/packet]

Reference: http://parallels.com/

How to enable the power user mode through API RPC

Send the following request packet to the server:

[packet version="1.6.3.0"]

[server]

[set]

[mode]poweruser[/mode]

[/set]

[/server]

[/packet]

Enabling the power user mode via API RPC does not create a default webspace.
The default webspace information will be requested and created as soon as admin logs in to the Panel

Reference:http://parallels.com/