curl --request POST \ --url https://spark.test.woodcore.co/api/v2/journalentries/{entryId}/reverse \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "comments": "Reversing transaction" }'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Reversing transaction"