WHM API.
Download OpenAPI description
Overview
URL
WebPros International, LLC
License
Languages
Servers
Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/
A server running WHM.
https://{host}:{port}/json-api/
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/remove_integration_group
- A server running WHM.
https://whm-server.tld:2087/json-api/remove_integration_group
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
remove_integration_group \
user='username' \
group_id='WHMCS'Response
application/json
{ "data": null, "metadata": { "command": "remove_integration_group", "reason": "Ok", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/remove_integration_link
- A server running WHM.
https://whm-server.tld:2087/json-api/remove_integration_link
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
remove_integration_link \
user='username' \
app='WHMCS_billing'Response
application/json
{ "data": null, "metadata": { "command": "remove_integration_link", "reason": "Ok", "result": 1, "version": 1 } }
- Mock server
https://api.docs.cpanel.net/_mock/specifications/whm.openapi/update_integration_link_token
- A server running WHM.
https://whm-server.tld:2087/json-api/update_integration_link_token
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
whmapi1 --output=jsonpretty \
update_integration_link_token \
user='username' \
app='WHMCS_billing' \
token='subway'Response
application/json
{ "data": null, "metadata": { "command": "update_integration_link_token", "reason": "Ok", "result": 1, "version": 1 } }