POST
/
expense
/
bulk
/
delete
Delete Bulk Expenses
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/expense/bulk/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ids": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ]
}'
{
  "message": "Expenses deleted successfully",
  "count": 2
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successfully deleted expenses

The response is of type object.