The following macros are not currently supported in the header:
- style
Delete Expense
Resource URL
Delete an expense.
DELETE /expenses/:id ANY /expenses/:id?_method=delete
Sample Response
DELETE /expenses/1.json
or
POST /expenses/1.json?_method=delete
{ "meta" : { "status" : "ok", "message" : "Everything executed as expected." } }