How to delete data from an object store layer
You can delete data from any object store layer using its key.
To delete data from the object store layer:
- Create the
RequestBuilderobject. - Call the
deleteBlobByKeyfunction with the key of the data that you want to delete and layer ID.
const result = await ObjectStoreApi.deleteBlobByKey(requestBuilder, {
layerId: "your-layer-id",
key: "your-data-key"
});You receive a response from the datastore with the status of the operation.
For more information, see the Data API Developer Guide and Data API Blob v2 API Reference.
Updated 9 days ago