Email
Mailing Lists
Update mailing list privacy options
This function modifies a Mailman mailing list's privacy options.
Important:
When you disable the Receive Mail role, the system disables this function.
get/Email/set_list_privacy_options
Query parameters
advertised0 | 1 required
Example:1
Whether the Mailman directory page displays the list.
- 1 - Display.
- 0 - Does not display.
archive_private0 | 1 required
Example:1
Whether the mailing list archive is private.
- 1 - Private.
- 0 - Public.
liststring required
Example:mylist
The mailing list name.
subscribe_policy1 | 2 | 3 required
Example:1
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.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_list_privacy_options",
"module": "Email",
"result": {
"metadata": {
"transformed": 1
},
"status": 1
}
}