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 lists all calendar users on the cPanel account.
Note:
You must install the Calendar and Contacts Server cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/CCS/list_users
- A server running cPanel.
https://cpanel-server.tld:2083/execute/CCS/list_users
- 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/CCS/list_users{ "apiversion": 3, "func": "list_users", "module": "CCS", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
Request
This function removes a delegate from another user's calendar.
Note:
You must install the Calendar and Contacts Server cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/CCS/remove_delegate
- A server running cPanel.
https://cpanel-server.tld:2083/execute/CCS/remove_delegate
- 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/CCS/remove_delegate?delegatee=user2%40example.com&delegator=user1%40example.com'{ "apiversion": 3, "func": "remove_delegate", "module": "CCS", "result": { "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
Request
This function updates the delegation of a user's calendar to another user.
Note:
You must install the Calendar and Contacts Server cPanel plugin to access this API function.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/CCS/update_delegate
- A server running cPanel.
https://cpanel-server.tld:2083/execute/CCS/update_delegate
- 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/CCS/update_delegate?delegatee=user2%40example.com&delegator=user1%40example.com&readonly=1'{ "apiversion": 3, "func": "update_delegate", "module": "CCS", "result": { "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }