komrad

delete_documents

Delete documents and every earlier version of each.

writesidempotentdestructiveCLI onlyAgent

Any unknown id fails the call, and nothing is deleted.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/DeleteDocuments \
  -H 'Content-Type: application/json' \
  -d '{
  "ids": [
    "<ids>"
  ]
}'

Request#

DeleteDocumentsRequest#

FieldTypeDescription
idsuuid[]*

no repeats

The documents to delete, by id.

Response#

Empty#

No fields.