Skip to main content
POST
Delete Bulk Expenses
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Delete Bulk Expenses Description: The /expense/bulk/delete endpoint allows deletion of multiple expense records simultaneously. Method: POST Authorization:
  • Required role: admin or higher
Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
ids
string[]
required

Array of expense IDs to delete

Response

Successfully deleted expenses

message
string
Example:

"Expenses deleted successfully"

count
integer
Example:

2