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 removes a delegate from another user's calendar.
Note:
You must install the Calendar and Contacts Server cPanel plugin to access this API function.
Security
BasicAuth
- 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'Response
application/json
{ "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.
Security
BasicAuth
- 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'Response
application/json
{ "apiversion": 3, "func": "update_delegate", "module": "CCS", "result": { "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }