Skip to main content
DELETE
/
embedded-banking
/
v1
/
external-bank-accounts
/
{id}
Unlinks an external bank account.
curl --request DELETE \
  --url https://api.sandbox.tesouro.com/embedded-banking/v1/external-bank-accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "errorCode": "<string>",
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Headers

X-Organization-ID
string<uuid>

ID of the organization to perform this operation on behalf of. Required for BANK and PLATFORM app token callers targeting a specific organization. If omitted, the request uses the authenticated caller's own organization. Must be a valid non-empty UUID. Present but malformed values return 400.

Path Parameters

id
string<uuid>
required

The external bank account ID.

Response

External bank account unlinked.