Cannot delete document

I am trying to delete a document via CURL, but am getting a message: {"code":2, "message":"", "details":[]}. When I check the corpus, the document still exisits.

curl -XPOST "" -d $PAYLOAD \
-H "Content-type: application/json" \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "customer-id: $VECTARA_CLIENT_ID"

What is going wrong here?

Can you try the following for PAYLOAD?


We have a slightly different naming convention for parameters used in the payload vs in the actual HTTP request (e.g. customerId vs customer-id).