v1
latestOpenAPI 3.0.22026-08-061464031.4 MBModify a link's data retrieval
Modify the data retrieval settings for a specific link. At present you can:
- Change a link's access mode from single to recurrent or from recurrent to single.
- Modify they stale_in period for the link.
- Modify the historical resources you want to retrieve for the link (fetch_resources).
Changing a link's access_mode
When you change a link from single to recurrent, the next day a historical update of the core resources for the link is triggered (resulting in you receiving historical_update webhooks for the link). You are billed for these historical updates.
Modifying stale_in
If you only modify the stale_in period for a link, this will not trigger a historical update. In order to trigger a historical update for the link, you must change the access_mode.
Modifying fetch_resources
If you only modify the fetch_resources for a link, this will not trigger a historical update. In order to trigger a historical update for the link, you must change the access_mode.
Path parameters
The link.id you want to change the access_mode, stale_in, or fetch_resources for.
Request body
Example request
{
"stale_in": "42d",
"fetch_resources": [
"ACCOUNTS",
"TRANSACTIONS"
]
}Response
Ok
Example response
{
"id": "0d3ffb69-f83b-456e-ad8e-208d0998d71d",
"institution": "erebor_mx_retail",
"access_mode": "recurrent",
"last_accessed_at": "2021-03-09T10:28:40.000Z",
"created_at": "2022-02-09T08:45:50.406032Z",
"external_id": "56ab5706-6e00-48a4-91c9-ca55968678d9",
"institution_user_id": "sooE7XJWEKypZJR603ecaWYk-8Ap0oD8Nr1pBQ4eG9c=",
"status": "valid",
"created_by": "bcef7f35-67f2-4b19-b009-cb38795faf09",
"refresh_rate": "7d",
"credentials_storage": "27d",
"fetch_resources": [
"ACCOUNTS",
"TRANSACTIONS"
],
"stale_in": "42d"
}