From 7b01e72a9b8276672876adc2a0b433ab47f7d98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 16 Dec 2013 01:49:17 +0100 Subject: [PATCH] Deleting a file of course work via DELETE, not POST --- docs/api/fileops.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/fileops.rst b/docs/api/fileops.rst index 418af000..0303e7fd 100644 --- a/docs/api/fileops.rst +++ b/docs/api/fileops.rst @@ -323,7 +323,7 @@ Issue a file command Delete file =========== -.. http:post:: /api/files/(string:target)/(path:filename) +.. http:delete:: /api/files/(string:target)/(path:filename) Delete the selected `filename` on the selected `target`.