---
title: "Delete one item from a site's vault"
method: DELETE
path: "/v1/sites/{site}/vault/items/{item_id}"
tags: ["vault"]
---

# Delete one item from a site's vault

`DELETE /v1/sites/{site}/vault/items/{item_id}`

## Request

- Base URL: `https://frontshelf.io/api`
- URL: `https://frontshelf.io/api/v1/sites/{site}/vault/items/{item_id}`
- Auth: HTTP bearer

Delete one item from the site's vault, with its passages (no search reaches them from then on) and, for a file, its original. It cannot be undone: your human would have to add it again, so delete only what they asked you to. It asks for confirmation: call it with dry_run: true to see what it would delete, then with confirm: true. An item that is not there, because it is already deleted or never was this site's, is NOT_FOUND, and nothing is deleted.

## Path parameters

- `site` string, required: Site ID (site_…), origin (https://example.com), or bare domain, resolved server-side; the response carries the canonical ID.
- `item_id` string, required: A vault item id (vit_…), from vault_list.

## Query parameters

- `dry_run` boolean: true: check the call and say what it would do, without doing it.
- `confirm` boolean: true: go ahead with a change that asks for confirmation.

## Response `200`

Delete one item from a site's vault

- object
  - `summary` string, required: The answer in one or two sentences, with the numbers it rests on.
  - `warnings` string[], required: What limits this answer (a cap, a read that was cut short). Empty when nothing does.
  - `next_actions` object[], required: What to call next, best first. Follow them.
    - `capability` string, required: What to call next: a capability.
    - `arguments` object, required: Its arguments, complete; pass them as they are.
    - `instruction` string, required: What to do, written to you.
  - `site_id` string, required: The site's canonical id.
  - `item_id` string, required
  - `deleted` true, required

## Other responses

- `400`: VALIDATION_FAILED
- `401`: UNAUTHENTICATED
- `403`: ORGANIZATION_FROZEN, SCOPE_DENIED
- `404`: SITE_NOT_FOUND, NOT_FOUND
- `409`: AMBIGUOUS_SITE, AGENT_STOPPED
- `428`: CONFIRMATION_REQUIRED
- `503`: PLATFORM_READ_ONLY, DEPENDENCY_UNAVAILABLE

---

[API](https://skmtc.dev/frontshelf/apis/frontshelf-api.md) · [All operations](https://skmtc.dev/frontshelf/apis/frontshelf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frontshelf/apis/frontshelf-api/revisions/ce3602d26c7c?raw)
