Remote Access Key: Difference between revisions

From Acenet Knowledgebase
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
A word of warning, use of the Remote Access Key in custom applications requires extensive familiarity with your scripting language of choice.
A word of warning, use of the Remote Access Key in custom applications requires extensive familiarity with your scripting language of choice.


Luckily, cPanel already provides you with the API needed for communicating with your WHM interface.  Documentation regarding cPanel's XML API can be found in the [http://www.cpanel.net/plugins/xmlapi/| cPanel XML API Documentation]
Luckily, cPanel already provides you with the API needed for communicating with your WHM interface.  Documentation regarding cPanel's XML API can be found in the [http://www.cpanel.net/plugins/xmlapi/ cPanel XML API Documentation]


In combination with your Remote Access Key, cPanel's XML API functions allow you to remotely or automatically perform WHM tasks.
In combination with your Remote Access Key, cPanel's XML API functions allow you to remotely or automatically perform WHM tasks.
Line 18: Line 18:
[[Generate a Remote Access Key]]
[[Generate a Remote Access Key]]


[http://forums.cpanel.net/showthread.php?t=76995|cPanel Forum Thread Discussing XML API]
[http://forums.cpanel.net/showthread.php?t=76995 cPanel Forum Thread Discussing XML API]


[http://forums.cpanel.net/showpost.php?p=322538|XML API Code Sample]
[http://forums.cpanel.net/showpost.php?p=322538 XML API Code Sample]


[http://php.net/manual/en/book.xml.php| XML Parser at php.net]
[http://php.net/manual/en/book.xml.php XML Parser at php.net]


[[Category:WHM (Web Host Manager)]]
[[Category:WHM (Web Host Manager)]]

Revision as of 10:29, 5 October 2012

WHM provides you with a Remote Access Key for allowing 3rd party scripts to access your WHM on Reseller, Virtual, or Dedicated plans. You can allow external scripts to perform a multitude of tasks from account creation, account termination, account suspensions and much more.

Many popular scripts which integrate and communicate with cPanel/WHM require your Remote Access Key for accessing your server. The popular billing software WHMCS is one such example. WHMCS allows for automatic signups, automatic account creation, and configuration of hosting packages. WHMCS is only one such example, there are many scripts out there which allow you to perform WHM tasks externally via use of the Remote Access Key.

In addition to prewritten scripts, if you are familiar with a scripting language such as PHP or Perl, you can custom code your own web-based applications.

A word of warning, use of the Remote Access Key in custom applications requires extensive familiarity with your scripting language of choice.

Luckily, cPanel already provides you with the API needed for communicating with your WHM interface. Documentation regarding cPanel's XML API can be found in the cPanel XML API Documentation

In combination with your Remote Access Key, cPanel's XML API functions allow you to remotely or automatically perform WHM tasks.

The actual implementation of cPanel's API is beyond the scope of our knowledgebase. However, we have included some great utilities for getting familiar with cPanel's XML API functions.


Related Topics

Generate a Remote Access Key

cPanel Forum Thread Discussing XML API

XML API Code Sample

XML Parser at php.net