Deleting documents is not permitted in MongoDB Compass Readonly Edition.
Select the appropriate tab based on whether you are viewing your documents in List, JSON, or Table view:
Once you confirm, Compass deletes the document from the collection.
Delete Multiple Documents¶
You cannot delete multiple documents at once from the Compass UI. As an alternative, you can use the db.collection.deleteMany() method in the embedded MongoDB Shell to delete multiple documents in a single operation.