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.

SecurityBasicAuth
Request
query Parameters
delegates
required
string

A list of the administrators to add.

Note:

Separate multiple email addresses with commas.

Examples:
delegates=delegates=user@example.com,admin@example.com
delegates=user@example.com
list
required
string

The mailing list.

Example: list=mylist
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Email/add_mailman_delegates
Request samples
uapi --output=jsonpretty \
  --user=username \
  Email \
  add_mailman_delegates \
  list='mylist' \
  delegates='user@example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "add_mailman_delegates",
  • "module": "Email",
  • "result": {
    • "data": {
      • "delegates": [
        • "admin@example.com, user@example.com"
        ],
      • "metadata": {
        • "transformed": null
        }
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}