Browse Documentation
DELETE Delete invoice

Delete Invoice

DELETE /invoices/:id

A DELETE request is expected to be sent to the above endpoint where the invoice id must be passed as a parameter to the invoice path. The below example demonstrates how to delete an invoice.

Request

    
curl -s -H
"Content-Type: application/json" -H "Authorization: Bearer token" \
-XDELETE \
https://dev.accounteer.com/api/v0.1/invoices/25230e4579efd7942370528a88fd0d5459a139a5
    

Response

When the invoice has been successfully deleted a 204 response will be returned without body

HTTP/1.1 204 No Content