mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
Update for API v1
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user