cURL
curl --request POST \ --url http://localhost/api/ledger/v2/{ledger}/logs/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/octet-stream' \ --data ' { "file": "<string>" } '
{}
The access token received from the authorization server in the OAuth 2.0 flow.
Name of the ledger.
"ledger001"
Import OK