All Products
Document Center

:Delete a document

Last Updated:May 19, 2022

This section introduces how to delete a document.


You must have access permissions to DMS and be logged on to the DMS console.


  1. Select an ApsaraDB for MongoDB instance and then click Log on to Database.

  2. After you log on to the instance, expand the left-side object list and then select the collection that contains the target document. Right-click the collection and then select Check Data to open the query page.

  3. By default, a query command is executed on this page to query the documents in the collection. You can add query conditions to find the document that you need to delete. Select the List view on the execution result tab page.

  4. Select any element of the target document in the List view and then click Delete Document.

  5. Click OK in the dialog box to delete the document.