DELETE /:collectionId/documents/:documentId

Table 1. DELETE/:collectionId/documents/:documentId Data
API DELETE /:collectionId/documents/:documentId
Purpose This route is used to delete a specific document from a specific collection.
Parameter
  • collectionId: The ID of the collection.
  • documentId: The ID of the document.
Response Returns the deleted document.