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 '{
  "enabled": true,
  "auth_token": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Headers

teal-instance-id
string
required

The Teal instance ID

Path Parameters

ledger_id
string
required

The ledger ID

Body

application/json
enabled
boolean | null

Toggles the enabled state of the transaction source.

auth_token
string | null

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

Response

204
_mintlify/placeholder

Successful Response