API command for ACL Delete

Aki Tuomi aki.tuomi at open-xchange.com
Thu May 27 15:26:07 EEST 2021


> On 27/05/2021 15:13 Rhodri Jones <rhodri.jones at armymail.mod.uk> wrote:
> 
> 
> I asked previously for info about the API options for doveadm acl delete but I think my question was misunderstood.
> 
> I want to know the command I would use (with curl for instance) that corresponds with:
> 
> doveadm acl delete -u <targetmailbox> INBOX user=<targetuser>
> 
> Using the python client for doveadm http API I can see the valid parameters but I don't seem to be able to get the correct syntax.
> 
> (doveadm) aclDelete ?
> invalid parameter: ?
> valid parameters for aclDelete:
>  - userFile (string)
>  - allUsers (boolean)
>  - mailbox (string)
>  - user (string)
>  - socketPath (string)
>  - id (string)
> -- 
>

The parameters correspond with the command line parameters, so you can do

aclDelete user target mailbox INBOX id user=otheruser

Aki


More information about the dovecot mailing list