curl --location --request PATCH '/api/v1/portfolios//accounts/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"account": {
"label": "string",
"kind": "string",
"status": "string",
"notes": "string"
}
}'{
"success": true,
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"label": "Main Savings",
"kind": "saving",
"status": "active",
"balance": {
"cents": 100000,
"currency": "IDR"
},
"bank": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string"
},
"parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
"notes": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}