---
title: "Delete a vault and every secret in it [write]"
method: DELETE
path: "/vaults/{id}"
tags: ["vaults"]
---

# Delete a vault and every secret in it \[write\]

`DELETE /vaults/{id}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/vaults/{id}`
- Auth: HTTP bearer

The revocation is pushed to the pods of any sessions the vault was attached to — they lose the credentials without restarting.

## Path parameters

- `id` string, required

## Response `204`

Deleted — no body

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - added the optional property `error/request_id` to the response with the `default` status

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/vaults/:id/delete.md)

---

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