curl --request POST \
--url https://app.herondata.io/api/integrations/{heron_id}/links/{link_item_id}/refresh \
--header 'x-api-key: <api-key>'
{
"link": {
"created": "2020-01-01T00:00:00Z",
"item_id": "M5eVJqLnv3tbzdngLDp9FL5OlDNxlNhlE55op",
"last_successful_sync": "2020-01-01T00:00:00Z",
"last_updated": "2020-01-01T00:00:00Z",
"status": "active",
"status_message": "[ITEM_LOGIN_REQUIRED] the login details of this item have changed (credentials, MFA, or required user action) and a user login is required to update this information. use Link's update mode to restore the item to a good state",
"type": "plaid_assets_report"
}
}
Trigger a refresh operation for an IntegrationLink
curl --request POST \
--url https://app.herondata.io/api/integrations/{heron_id}/links/{link_item_id}/refresh \
--header 'x-api-key: <api-key>'
{
"link": {
"created": "2020-01-01T00:00:00Z",
"item_id": "M5eVJqLnv3tbzdngLDp9FL5OlDNxlNhlE55op",
"last_successful_sync": "2020-01-01T00:00:00Z",
"last_updated": "2020-01-01T00:00:00Z",
"status": "active",
"status_message": "[ITEM_LOGIN_REQUIRED] the login details of this item have changed (credentials, MFA, or required user action) and a user login is required to update this information. use Link's update mode to restore the item to a good state",
"type": "plaid_assets_report"
}
}
The Integration's heron_id
The IntegrationLink's item_id
OK
The response is of type object
.
Was this page helpful?