PUT
/
v0
/
sources
/
ledgers
/
{ledger_id}
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 '{
  "auth_token": "<string>",
  "enabled": true
}'
This response has no body data.

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

Path Parameters

ledger_id
string
required

The ledger ID

Body

application/json
auth_token
string | null

A new auth token. For Plaid sources this will be a p token.

enabled
boolean | null

Toggles the enabled state of the transaction source.