From 937d98903457d2dabc0bf1d15d2131ed2c3b437a Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Thu, 25 Feb 2016 19:34:04 -0800 Subject: [PATCH] Update for API v1 --- REST-DELETE-mailbox.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/REST-DELETE-mailbox.md b/REST-DELETE-mailbox.md index 2524fa5..45cbb27 100644 --- a/REST-DELETE-mailbox.md +++ b/REST-DELETE-mailbox.md @@ -4,7 +4,7 @@ Purge contents of mailbox. ### URI -`DELETE /mailbox/{name}` +`DELETE /api/v1/mailbox/{name}` ### Params @@ -16,7 +16,7 @@ JSON encoded string "OK" ### Example -Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/mailbox/swaks` +Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/api/v1/mailbox/swaks` Response: