---
title: "Delete Merchant Key"
description: "Delete a key. The response confirms it."
url: https://app.visacli.sh/docs/reference/vmrs/delete-merchant-key
updated: 2026-11-09
---

# Delete Merchant Key

> Delete a key. The response confirms it.

Canonical: https://app.visacli.sh/docs/reference/vmrs/delete-merchant-key. Updated: 2026-11-09. Full index: /llms.txt.

```text
DELETE /vmrs/v1/merchants/{merchantId}/keys/{keyId}
```

Related guide: [Register a merchant](/docs/register-a-merchant.md).

**Base URL:** `https://sandbox.api.visa.com`. **Authentication:** not declared in the public VMRS OpenAPI; configure the selected VDP product/project method.

## Parameters

| Parameter | Location | Required | Type / meaning |
| --- | --- | --- | --- |
| `merchantId` | path | Yes | `string`<br>Unique merchant identifier (UUID) |
| `keyId` | path | Yes | `string`<br>Unique key identifier (UUID) |

**Request body:** none declared.

## Responses

| HTTP | Meaning | Response schema |
| --- | --- | --- |
| `200` | Key deleted successfully | [`MessageResponse`](/docs/reference/schemas.md#vmrs-schema-MessageResponse) |
| `404` | Merchant or key not found | [`ErrorResponse`](/docs/reference/schemas.md#vmrs-schema-ErrorResponse) |

```json title="Visa-published HTTP 200 response example"
{
  "message": "Key deleted successfully"
}
```

> [!NOTE] Contract detail
> The published contract says delete the key and return HTTP 200 with a confirmation message. It does not describe VARS-style soft deactivation or promise restoration through activation.

```bash title="Request template — project authentication in vmrs-auth.curl"
base='https://sandbox.api.visa.com/vmrs/v1'
curl --config ./vmrs-auth.curl \
  --request DELETE \
  "$base/merchants/YOUR_MERCHANT_ID/keys/YOUR_KEY_ID" \
  --header 'Accept: application/json'
```

The auth configuration file supplies the method approved for your VMRS project. The public schema does not specify its headers, API-key query, certificates or transport mode.

Sources: [Current TAP API reference / endpoint catalog](https://developer.visa.com/api-reference/trusted-agent-protocol), [Current TAP API reference as Markdown](https://developer.visa.com/api-reference/trusted-agent-protocol.md).
