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 @@ Delete specific message in mailbox.
|
||||
|
||||
### URI
|
||||
|
||||
`DELETE /mailbox/{name}/{id}`
|
||||
`DELETE /api/v1/mailbox/{name}/{id}`
|
||||
|
||||
### Params
|
||||
|
||||
@@ -17,7 +17,7 @@ JSON encoded string "OK"
|
||||
|
||||
### Example
|
||||
|
||||
Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/mailbox/swaks/20131015T161202-0000`
|
||||
Request: `curl -i -H "Accept: application/json" -X DELETE http://localhost:9000/api/v1/mailbox/swaks/20131015T161202-0000`
|
||||
|
||||
Response:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user