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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The external bank account ID.

Query Parameters

organizationId
string<uuid>

Optional organization ID for the embedded organization. Required for BANK and PLATFORM callers to operate on behalf of a specific embedded org.

Response

External bank account unlinked.