Skip to main content
DELETE
/
vault
/
{id}
/
objects
/
{objectId}
curl -X DELETE "https://api.case.dev/vault/%3Cstring%3E/objects/%3Cstring%3E" \ -H "Authorization: Bearer $CASEDEV_API_KEY"
{
  "success": true,
  "deletedObject": {
    "id": "obj_abc123",
    "filename": "contract.pdf",
    "sizeBytes": 1024000,
    "vectorsDeleted": 28
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Vault ID

objectId
string
required

Object ID to delete

Query Parameters

force
enum<string>

Force delete a stuck document that is still in 'processing' state. Use this if a document got stuck during ingestion (e.g., OCR timeout).

Available options:
true

Response

Object deleted successfully

success
boolean
deletedObject
object