UAPI accesses the cPanel interface's features. Use this API to access and modify cPanel account data and settings.
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/
https://{host}:{port}/execute/
Request
This function checks for any active WordPress® site backups on the cPanel account.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/any_running
- A server running cPanel.
https://cpanel-server.tld:2083/execute/WordPressBackup/any_running
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/any_running{ "apiversion": 3, "func": "any_running", "module": "WordPressBackup", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
Request
This function cancels a WordPress® site backup.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/cancel
- A server running cPanel.
https://cpanel-server.tld:2083/execute/WordPressBackup/cancel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/cancel?site=example.com'{ "apiversion": 3, "func": "cancel", "module": "WordPressBackup", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
Request
This function releases any system resources from a previous WordPress® site backup.
Note:
You must install the WordPress Manager cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/cleanup
- A server running cPanel.
https://cpanel-server.tld:2083/execute/WordPressBackup/cleanup
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/WordPressBackup/cleanup?site=example.com%2Fwordpress'{ "apiversion": 3, "func": "cleanup", "module": "WordPressBackup", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }