---
title: "Delete OSH account and related transactions for a customer"
method: DELETE
path: "/customers/{customerId}/osh/accounts/{accountId}"
---

# Delete OSH account and related transactions for a customer

`DELETE /customers/{customerId}/osh/accounts/{accountId}`

## Request

- Base URL: `https://api.open-finance.ai/v3/loans`
- URL: `https://api.open-finance.ai/v3/loans/customers/{customerId}/osh/accounts/{accountId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.open-finance.ai/oauth/token` scopes: `admin`

## Path parameters

- `customerId` string, required
- `accountId` string, required

## Response `204`

OSH account and related transactions deleted successfully

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/open-finance/apis/loans.md) - [All operations](https://skmtc.dev/open-finance/apis/loans/llms.txt) - [OpenAPI document](https://skmtc.dev/open-finance/apis/loans/revisions/915c69e62042?raw)
