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/
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Email/remove_mailman_delegates
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Email/remove_mailman_delegates
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
uapi --output=jsonpretty \
--user=username \
Email \
remove_mailman_delegates \
list='mylist' \
delegates='user@example.com,admin@example.com'{ "apiversion": 3, "func": "remove_mailman_delegates", "module": "Email", "result": { "data": { … }, "errors": null, "messages": null, "metadata": {}, "status": 1, "warnings": null } }
Request
This function modifies a Mailman mailing list's privacy options.
Important:
When you disable the Receive Mail role, the system disables this function.
Whether the Mailman directory page displays the list.
1- Display.0- Does not display.
Whether the mailing list archive is private.
1- Private.0- Public.
The level of control that the mailing list administrator has over new subscribers.
1- Anyone can subscribe. The system sends a confirmation email.2- The administrator must approve subscriptions. The system does not send a confirmation email.3- The administrator must approve subscriptions. The system sends a confirmation email.
- Mock server
https://api.docs.cpanel.net/_mock/specifications/cpanel.openapi/Email/set_list_privacy_options
- A server running cPanel.
https://cpanel-server.tld:2083/execute/Email/set_list_privacy_options
- CLI
- URL
- curl
- JavaScript
- Node.js
- Python
- Java
- Java8+Apache
- C#
- C#+Newtonsoft
- PHP
- Go
- Ruby
- R
uapi --output=jsonpretty \
--user=username \
Email \
set_list_privacy_options \
list='mylist' \
advertised='1' \
archive_private='1' \
subscribe_policy='1'{ "apiversion": 3, "func": "set_list_privacy_options", "module": "Email", "result": { "data": null, "errors": null, "messages": null, "metadata": { … }, "status": 1, "warnings": null } }