v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Email
Mailing Lists

Add administrators to mailing list

This function grants mailing list administrative privileges to users.

Important:

When you disable the Receive Mail role, the system disables this function.

get/Email/add_mailman_delegates

Query parameters

delegatesstring required

A list of the administrators to add.

Note:

Separate multiple email addresses with commas.

liststring required
Example:mylist

The mailing list.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "add_mailman_delegates",
  "module": "Email",
  "result": {
    "data": {
      "delegates": [
        "admin@example.com, user@example.com"
      ]
    },
    "status": 1
  }
}