Skip to content

Delete a document

DELETE
/api/v1/documents
curl --request DELETE \
--url 'http://localhost:11044/api/v1/documents?uri=example' \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'

Delete a document by its URI.

uri
required
string

The document URI, as returned by list or ingest

Document deleted

Media type*/*
object
key
additional properties
string

Document not found

Media type*/*

A delete that found no document at that URI in the caller’s world

object
status
required

Always not_found

string

Example

not_found
uri
required

The URI asked for, echoed back unchanged

string