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.

PAYLOAD={\"customer-id\":\""$VECTARA_CLIENT_ID"\",\"corpus-id\":"$VECTARA_CORPUS_ID",\"document-id\":\""git/$REPO/$file"\"}
curl -XPOST "https://api.vectara.io/v1/delete-doc" -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?

PAYLOAD={\"customerId\":\""$VECTARA_CLIENT_ID"\",\"corpusId\":"$VECTARA_CORPUS_ID",\"documentId\":\""git/$REPO/$file"\"}

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).