For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
BlogLog InRequest Demo
HomeProductDevelopersSelf-HostingChangelog
HomeProductDevelopersSelf-HostingChangelog
  • Getting Started
    • Overview
  • Workflows SDK
    • Introduction
    • Installation
    • Core Concepts
    • Defining Control Flow
    • Configuration
    • Custom Docker Images
  • Client SDK
    • Introduction
    • Authentication
    • API Versioning
      • POSTSearch
      • POSTAdd Document
      • POSTCreate Document Index
      • GETRetrieve Document Index
      • GETList Document Indexes
      • PATCHUpdate Document Index
      • PUTReplace Document Index
      • DELDestroy
      • DELRemove Document
LogoLogo
BlogLog InRequest Demo
Client SDKDocument Indexes

Destroy

Beta
DELETE
https://documents.vellum.ai/v1/document-indexes/:id
DELETE
/v1/document-indexes/:id
1import requests
2
3url = "https://documents.vellum.ai/v1/document-indexes/id"
4
5headers = {"X-API-KEY": "<apiKey>"}
6
7response = requests.delete(url, headers=headers)
8
9print(response.json())
204No Content
1{}
Used to delete a Document Index given its ID or name.
Was this page helpful?
Previous

Remove Document

Next
Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

idstringRequired
Either the Document Index's ID or its unique name

Headers

X-API-VersionstringOptional

Response

No response body