---
title: "Delete a vault and invalidate its items"
method: DELETE
path: "/vaults/{id_or_name}"
tags: ["Vaults"]
---

# Delete a vault and invalidate its items

`DELETE /vaults/{id_or_name}`

## Request

- Base URL: `https://api.onkernel.com`
- URL: `https://api.onkernel.com/vaults/{id_or_name}`
- Auth: HTTP bearer

Unresolved payment operations block deletion. Deleting a connected Kernel wallet first blocks new payments on it, then removes its enrolled card. If that fails, the wallet is kept and keeps refusing payments; retry the deletion. Reconcile the original attempt with the provider or support first; deleting or recreating an item is not proof that a payment did not occur.

## Response `204`

Vault deleted

## Other responses

- `401`: Unauthorized – missing or invalid authorization token
- `404`: Resource not found
- `409`: Conflict – resource already exists
- `429`: Too Many Requests – rate limit exceeded
- `500`: Internal Server Error

## Changes

- **2026-10-03** `9574dcf9b2a7`: 1 info
  - added the non-success response with the status `429`
- **2026-09-11** `8b63434ce269`: 1 info
  - added the non-success response with the status `409`
- **2026-09-04** `f8926f40b092`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onkernel/apis/kernel-api/changes/vaults/:id_or_name/delete.md)

---

[API](https://skmtc.dev/onkernel/apis/kernel-api.md) - [All operations](https://skmtc.dev/onkernel/apis/kernel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onkernel/apis/kernel-api/revisions/0f6cf4f58fe6?raw)
