curl -X DELETE "https://heimdall.qa.zoniqx.com/bank-accounts/<id>" \
-H "Authorization: Bearer <accessToken>" \
-H "x-tenant-id: <your-tenant-id>"
const response = await fetch("https://heimdall.qa.zoniqx.com/bank-accounts/<id>", {
method: "DELETE",
headers: {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data = await response.json();type BankAccountController_deleteBankAccountResponse = Record<string, unknown>;
const response = await fetch("https://heimdall.qa.zoniqx.com/bank-accounts/<id>", {
method: "DELETE",
headers: {
Authorization: "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
},
});
const data: BankAccountController_deleteBankAccountResponse = await response.json();import requests
url = "https://heimdall.qa.zoniqx.com/bank-accounts/<id>"
headers = {
"Authorization": "Bearer <accessToken>",
"x-tenant-id": "<your-tenant-id>",
}
response = requests.delete(url, headers=headers)
data = response.json()