cURL
curl --request PUT \ --url https://api.sandbox.teal.dev/v0/sources/ledgers/{ledger_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'teal-instance-id: <teal-instance-id>' \ --data ' { "enabled": true, "auth_token": "<string>", "sync_from": "2023-11-07T05:31:56Z" } '
{ "message": "<string>", "data": "<unknown>", "display_message": "<string>", "error_code": "invalid_date" }
Update Ledger Transaction Source
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Teal instance ID
The ledger ID belonging to an existing Plaid transaction source account
Toggles the enabled state of the transaction source.
A new auth token. For Plaid sources this will be a p token.
The datetime to sync transactions from. Transaction changes received before this datetime will be ignored.
Successful Response