Collection API
Delete a collection
Once you decide that you no longer need a collection or that you want to start over, you can delete it. Deleting a collection will remove all the documents and indexes associated with it.
To delete a collection, call the delete()
function on client.collections()
with the name of the collection:
If your collection is too large it can take a moment to delete it. You can check the status of the deletion by listing the collections again.