UAPI accesses the cPanel interface's features. Use this API to access and modify cPanel account data and settings.
Download OpenAPI description
Overview
URL
WebPros International, LLC
License
Languages
Servers
Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/
A server running cPanel.
https://{host}:{port}/execute/
Request
This function gives a new, randomly-generated ID to an existing Dynamic DNS (DDNS) domain.
Important:
When you disable the DNS role, the system disables this function.
Security
BasicAuth
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/DynamicDNS/recreate
- A server running cPanel.
https://cpanel-server.tld:2083/execute/DynamicDNS/recreate
- 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/DynamicDNS/recreate?id=ggiugyxxjwnkmqtwysgmvrurplmafxpq'Response
application/json
{ "apiversion": 3, "func": "recreate", "module": "DynamicDNS", "result": { "data": { … }, "errors": null, "messages": null, "metadata": { … }, "status": 1, "warnings": null } }
Request
This function sets the description on a user’s Dynamic DNS (DDNS) domain.
Important:
When you disable the DNS role, the system disables this function.
Security
BasicAuth
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/DynamicDNS/set_description
- A server running cPanel.
https://cpanel-server.tld:2083/execute/DynamicDNS/set_description
- 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/DynamicDNS/set_description?description=Home+network&id=ggiugyxxjwnkmqtwysgmvrurplmafxpq'Response
application/json
{ "apiversion": 3, "func": "list", "module": "DynamicDNS", "result": { "errors": null, "messages": null, "metadata": { … }, "status": 1, "warnings": null } }