diff --git a/Administrating-wildduck-via-command-line.md b/Administrating-wildduck-via-command-line.md index 1beed75..a2a7787 100644 --- a/Administrating-wildduck-via-command-line.md +++ b/Administrating-wildduck-via-command-line.md @@ -117,7 +117,7 @@ Function snippet to be saved in :~/.wildduck.commands`: wduck-message-delete() { URL=$1 echo "Delete(format: /users/USERID/mailboxes/MAILBOXID/messages/UID) message: $URL" - curl -i http://localhost:8080$URL + curl -i -XDELETE http://localhost:8080$URL } ``` Use it like: