API referenceExpenses
Delete a draft expense
Needs a token with the write:expenses scope. Authentication
Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.
DELETE
Soft-deletes a draft expense; it disappears from lists and cannot be restored through the API. Only drafts: a booked expense answers 409 invalid_state, void it instead (void_expense). Receipts stay attached to the deleted record. Answers 204; a retry answers 404.
bearerAuthheader
AuthorizationBearer <token>A personal API token, hvt_…, with scopes such as read:* or write:invoices
id*stringThe expense's id.
Deleted.
curl -X DELETE 'https://app.helvetly.com/api/v1/expenses/string'Example Response
Empty