---
title: "Merchant Connector - Delete"
method: DELETE
path: "/account/{account_id}/connectors/{merchant_connector_id}"
tags: ["Merchant Connector Account"]
---

# Merchant Connector - Delete

`DELETE /account/{account_id}/connectors/{merchant_connector_id}`

## Request

- The document declares no server URL.
- Auth: API key in header `api-key`
- TypeScript: <https://skmtc.dev/hyperswitch/apis/dynamic-routing-openapi-3-0/docs/account/:account_id/connectors/:merchant_connector_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete or Detach a Merchant Connector from Merchant Account

## Path parameters

- `account_id` string, required
- `merchant_connector_id` string, required

## Response `200`

Merchant Connector Deleted

- MerchantConnectorDeleteResponse
  - `merchant_id` string, required: The identifier for the Merchant Account
  - `merchant_connector_id` string, required: Unique ID of the connector
  - `deleted` boolean, required: If the connector is deleted or not

## Other responses

- `401`: Unauthorized request
- `404`: Merchant Connector does not exist in records

---

[API](https://skmtc.dev/hyperswitch/apis/dynamic-routing-openapi-3-0.md) - [All operations](https://skmtc.dev/hyperswitch/apis/dynamic-routing-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/hyperswitch/apis/dynamic-routing-openapi-3-0/revisions/8fbf69ab2597?raw)
