Update mailing list password

This function changes a mailing list's password.

Important:

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

SecurityBasicAuth
Request
query Parameters
list
required
string

The full name (including the domain) of a Mailman mailing list on the cPanel account.

Example: list=mylist@example.com
password
required
string

The new password.

Example: password=12345luggage
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/passwd_list
Request samples
uapi --output=jsonpretty \
  --user=username \
  Email \
  passwd_list \
  list='mylist@example.com' \
  password='12345luggage'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "passwd_list",
  • "module": "Email",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}