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
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID The Teal instance ID
The ledger ID The ledger ID
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