Skip to main content
DELETE
Delete expense

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

expenseId
string
required

The id of the expense to retrieve UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Query Parameters

version
integer<int64>

Optional stale data check for the actions without a request body (action=send, action=merge, action=connectToOrganization and DELETE). The version of the expense as it was returned when the client loaded it, an integer >= 0. If the expense has been changed since (its current version differs), the request is rejected with 409 CONCURRENT_MODIFICATION and nothing is changed; reload the expense and try again. A value that is not a number is rejected with 400 INVALID_PARAMETER. When omitted, no check is made. For a regular update with a request body, send version in the body instead - this parameter is then ignored.

Required range: x >= 0

Response

No content