Delete a Document using the JavaScript Client
In order to delete a document you need to know the document id.
const deleteDoc = async () => {
const docId = "Player/George"
await client.deleteDocument({id:docId});
console.log(`the ${docId} has been deleted`)
}