Skip to main content
DELETE
/
api
/
documents
/
assistant
/
{externalId}
Delete a document from a given assistant
curl --request DELETE \
  --url https://api.vambe.me/api/documents/assistant/{externalId} \
  --header 'x-api-key: <x-api-key>'
const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};

fetch('https://api.vambe.me/api/documents/assistant/{externalId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.vambe.me/api/documents/assistant/{externalId}"

headers = {"x-api-key": "<x-api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)

Headers

x-api-key
string
required

API key needed to authorize the request

Path Parameters

externalId
string
required

The external id of the document

Response

Document deleted successfully.