mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Update for API v1
@@ -4,7 +4,7 @@ Purge contents of mailbox.
|
|||||||
|
|
||||||
### URI
|
### URI
|
||||||
|
|
||||||
`DELETE /mailbox/{name}`
|
`DELETE /api/v1/mailbox/{name}`
|
||||||
|
|
||||||
### Params
|
### Params
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ JSON encoded string "OK"
|
|||||||
|
|
||||||
### Example
|
### 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:
|
Response:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user