Skip to main content
DELETE
Delete expense report

Authorizations

Authorization
string
header
required

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

Path Parameters

expenseReportId
string
required

Id of the expense report. UUID without dashes (32-character hex string)

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

Query Parameters

deleteExpenseRecords
boolean

optional flag to delete all related expense records

version
integer<int64>

Optional stale data check for the actions without a request body (action=send, action=retract and DELETE). The version of the expense report as it was returned when the client loaded it, an integer >= 0. If the report has been changed since (its current version differs), the request is rejected with 409 CONCURRENT_MODIFICATION and nothing is changed; reload the report 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