Update a data source
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-05-08T18:49:43.895240",
"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_6n2yvYKTpH9ft4zLEvNLto",
"is_enabled": true,
"last_updated": "2025-06-19T18:49:43.895266",
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"reference_id": "pdf_HLoLGfKqj2Mf9pF4MXGG3j",
"status": "new",
"type": "pdf"
}
Ok
The response is of type object
.
Was this page helpful?
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-05-08T18:49:43.895240",
"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_6n2yvYKTpH9ft4zLEvNLto",
"is_enabled": true,
"last_updated": "2025-06-19T18:49:43.895266",
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"reference_id": "pdf_HLoLGfKqj2Mf9pF4MXGG3j",
"status": "new",
"type": "pdf"
}
Update a data source
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-05-08T18:49:43.895240",
"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_6n2yvYKTpH9ft4zLEvNLto",
"is_enabled": true,
"last_updated": "2025-06-19T18:49:43.895266",
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"reference_id": "pdf_HLoLGfKqj2Mf9pF4MXGG3j",
"status": "new",
"type": "pdf"
}
Ok
The response is of type object
.
Was this page helpful?
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-05-08T18:49:43.895240",
"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_6n2yvYKTpH9ft4zLEvNLto",
"is_enabled": true,
"last_updated": "2025-06-19T18:49:43.895266",
"metadata": {
"filename": "202348_JAN_2022.pdf",
"status": "processed"
},
"reference_id": "pdf_HLoLGfKqj2Mf9pF4MXGG3j",
"status": "new",
"type": "pdf"
}