All Products
Search
Document Center

OpenSearch:Delete data

Last Updated:Jul 17, 2024

Delete data in tables

Log on to the OpenSearch Vector Search Edition console. In the left-side navigation pane, click Instances. On the Instances page, find the instance that you want to manage and click its ID to go to the instance details page. In the left-side pane of the instance details page, choose Vector Management > Delete Data. On the Delete Data tab, select a table to delete data based on the primary key.

image.png

If "message": "success" appears in the Results section after you click Delete, the data is deleted.

Delete data in developer mode

Log on to the OpenSearch Vector Search Edition console. In the left-side navigation pane, click Instances. On the Instances page, find the instance that you want to manage and click its ID to go to the instance details page. In the left-side pane of the instance details page, choose Vector Management > Delete Data. In the upper-right corner of the Delete Data tab, select Developer Mode.

image.png

Enter the primary key that you want to delete after the name of the primary key column and click Delete. In this example, the name of the primary key column is id.

If "message": "success" appears in the Results section, the data is deleted.