PUT
/
api
/
data_sources
/
{heron_id}
curl --request PUT \
  --url https://app.herondata.io/api/data_sources/{heron_id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "is_enabled": true
}'
{
  "created": "2025-03-19T19:15:19.454562",
  "data_source_accounts": [
    {
      "account_id": "202348",
      "anomaly_score": 200,
      "enabled": true,
      "max_date": "2022-01-31",
      "min_date": "2022-01-01",
      "num_transactions": 120,
      "transactions_match_balances": true
    }
  ],
  "heron_id": "dso_TdzFZbn8pQvtNfXUE92pHz",
  "is_enabled": true,
  "last_updated": "2025-04-30T19:15:19.454617",
  "metadata": {
    "filename": "202348_JAN_2022.pdf",
    "status": "processed"
  },
  "reference_id": "pdf_SdwJstYN9qtvKFbLvoJov4",
  "status": "new",
  "type": "pdf"
}

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.