curl --request PUT \
--url http://localhost:3001/v1/ledger-account/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountNumber": "<string>",
"name": "<string>"
}
'{
"accountNumber": "<string>",
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Update an existing ledger account.
curl --request PUT \
--url http://localhost:3001/v1/ledger-account/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountNumber": "<string>",
"name": "<string>"
}
'{
"accountNumber": "<string>",
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Ledger Account ID
Was this page helpful?