On Mon, Feb 18, 2019, at 4:56 AM, Henrik Rasmussen wrote:
While in Mailman Settings a user can change delivery mode for either Global (all subscriptions regardless of address or list), Address based (regardless of list name) or List Based (regardless of address).
The list admin can change a user's delivery mode setting on a single list (affecting only that address and only that list), but only one subscriber at the time on the list.
Changing a user's delivery mode can also be done using REST[1], but I asume this will affect the user's subscription on all the lists where she subscribed using the same address.
How do I change ALL the subscribers[2] on a _single list_ to a certain delivery mode, using REST?
You watch to PATCH the preferences of a Member object, so that you don't affect other subscriptions of that address or user.
http://localhost:9001/3.0/members/1/preferences
[1] https://mailman.readthedocs.io/en/latest/src/mailman/rest/docs/preferences.h... [2] Most likely by iterating through all subscribers, one at the time, on the list in question.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)