DELETE
/
expense
/
{id}
Expense
curl --request DELETE \
  --url https://cashboard-f5x2.onrender.com/expense/{id}
{
"expense": {
"desc": "Electricity bill",
"category": "Utility",
"date": "2024-02-04T00:00:00.000Z",
"account": "662fbf9eac827e370c18d4b9",
"amount": 1000,
"_id": "662fce008f1d17198913a0ab"
}
}

Path Parameters

id
string
required

required

Query Parameters

user
string

required

Response

200 - application/json

OK

The response is of type object.