doveadm REST API: Delete home

Patrick Ben Koetter p at sys4.de
Wed Mar 24 15:52:44 EET 2021


Hi!

How can I remove a users mail home directory using the REST API?

I'm trying to purge a users mailbox including the users $HOME, but it seems
I'm on the wrong way. If I send a mailbox delete I end up with "Error: Can't
delete INBOX: INBOX can't be deleted.", which kind of makes sense.

Should I be using
https://doc.dovecot.org/admin_manual/doveadm_http_api/#doveadm-fs-delete
instead?

TIA,

p at rick

-- 
[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein



More information about the dovecot mailing list