GuidesTypeScript API ReferencePython v2 API Reference
Guides

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:

  1. Create the RequestBuilder object.
  2. Call the deleteBlobByKey function 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.