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) --
On 27/05/2021 15:13 Rhodri Jones rhodri.jones@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
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@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
participants (2)
-
Aki Tuomi
-
Rhodri Jones