PUT
/
api
/
data_source_accounts
/
{heron_id}
curl --request PUT \
  --url https://app.herondata.io/api/data_source_accounts/{heron_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "is_enabled": true
}'
{
  "account_id": "202348",
  "anomaly_score": 200,
  "balances": [
    {
      "closing_amount": 25000.45,
      "currency": "USD",
      "date": "2022-01-01"
    }
  ],
  "currency": "USD",
  "end_date": "2022-01-31",
  "heron_id": "dso_enx8WwvdV7HwThALhgtiMV",
  "institution_name": "Chase",
  "is_enabled": true,
  "max_date": "2022-01-31",
  "min_date": "2022-01-01",
  "name": "Checking Account",
  "num_transactions": 120,
  "number": "123456789",
  "owner_name": "John Doe",
  "reference_id": "account-202348",
  "start_date": "2022-01-01",
  "transactions_match_balances": true,
  "type": "Checking"
}

Authorizations

x-api-key
string
header
required

Path Parameters

heron_id
string
required

Body

application/json

Response

200 - application/json
Ok

The response is of type object.