Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
api:api_invoices_id [2014/07/12 13:23] – created Lauri Elevantapi:api_invoices_id [2014/07/12 13:25] Lauri Elevant
Line 15: Line 15:
   Content-Type: application/json   Content-Type: application/json
   Content-Length: 1234   Content-Length: 1234
 +
 +
 +===== DELETE =====
 +
 +Delete an invoice.
 +
 +==== Syntax ====
 +
 +  DELETE /api/invoices/123
 +  Host: apply.example.edu
 +  Authorization: DREAM apikey="..."
 +
 +==== Response headers ====
 +
 +  Content-Type: text/plain
 +  Content-Length: 0
 +
 +==== Response codes ====
 +
 +| ''204 No Content'' | Invoice was successfully deleted |
 +