[MM3-users] Re: Removing a moderator via the REST API

2024-11-15 Thread Mark Sapiro
On 11/15/24 06:38, Andy Matthews wrote: Given a list address of annou...@bar.com, and a subscriber of a...@bar.com, the API endpoint would be: ``` 'lists/announce.bar.com/moderator/a...@bar.com' ``` Is that correct? Yes. One question, I think I assumed that removing a user from the list wo

[MM3-users] Re: Removing a moderator via the REST API

2024-11-15 Thread Andy Matthews
Ah, I must have totally misunderstood then, apologies Mark. So plucking that method here for reference: ``` def remove_role(self, role, address): """Remove a list Member with a specific Role. :param str role: The role for the new member. :param str address: A valid email address for

[MM3-users] Re: Removing a moderator via the REST API

2024-11-14 Thread Mark Sapiro
On 11/14/24 13:44, Andy Matthews wrote: However it doesn't appear that you can remove a person as moderator via the API, per a comment made by Mark on 8/12/24 in this thread: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/D3DNYDK4CCTJVWFU5GKFGVD5VDOJR43P/ I'm not s