API command for ACL Delete

Rhodri Jones rhodri.jones at armymail.mod.uk
Thu May 27 15:39:28 EEST 2021


For the python client I need to have mailbox="something" 
user="something" id="something" otherwise I get the invalid parameter 
message.
**
On 27/05/2021 13:26, Aki Tuomi wrote:
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210527/4ebcf99c/attachment.html>


More information about the dovecot mailing list