cURL
curl --request DELETE \ --url https://{defaultHost}/v1/invoices/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "94831b24-9234-489e-b2f7-2a2b07e1b018", "object": "invoice", "deleted": true }
Deletes a specific invoice.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this object was succesfully deleted.
Was this page helpful?