Expenses
REFERENCE
Delete an expense
DELETE
/expenses/{expense}Deletes the expense and its file. Fires the expense.deleted webhook.
Authorization
bearerAuth AuthorizationBearer <token>
Business token created in the app under Settings, Integrations, API. The token is scoped to exactly one business, has no expiry and is shown only once. Send it as Authorization: Bearer <token> together with Accept: application/json.
In: header
Path Parameters
expense*string
The expense ID.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://app.fsaskaita.lt/api/expenses/9c1f7b2e-3a6d-4d5e-9f0a-2b7c8d9e0f11" \ -H "Authorization: Bearer $FSASKAITA_TOKEN" \ -H "Accept: application/json"Empty
F-sąskaita / DevelopersWhat’s new