PUT
/
account
/
{id}
Update Account
curl --request PUT \
  --url https://cashboard-f5x2.onrender.com/account/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 15000
}'
{
"account": {
"name": "KCB Account",
"desc": "My checking account",
"currentAmount": 175000,
"_id": "662fbf9eac827e370c18d4b9"
}
}

Path Parameters

id
string
required

required

Query Parameters

user
string

required

Body

application/json · object

Response

200
application/json

OK

The response is of type object.