Is it possible to delete transactions via the API?

Hey,

I can't figure out how to delete a transaction via the API.

I've tried sending a PUT to /budgets/{budget_id}/transactions/{transaction_id} with

{"transaction": {"deleted": true}}

I get back a 200, but the transaction still shows "deleted": false. I also tried hitting the same endpoint with a DELETE but get a 404.

Is this possible?

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I'll let someone from support make the official answer, but just looking at the api docs (the same one you linked) the data to pass doesn't show deleted as an option.

     

    {
      "transaction": {
        "account_id": "string",
        "date": "string",
        "amount": 0,
        "payee_id": "string",
        "payee_name": "string",
        "category_id": "string",
        "memo": "string",
        "cleared": "cleared",
        "approved": true,
        "flag_color": "red",
        "import_id": "string"
      }
    }
    Reply Like
    • Dennis Whitney - Deletion is not currently supported through the API.

      Reply Like
Like Follow
  • 5 days agoLast active
  • 2Replies
  • 23Views
  • 3 Following