Skip to content
Tauri

removeDataStore

removeDataStore(uuid): Promise<DataStoreIdentifier[]>

Defined in: app.ts:175

Removes the data store with the given identifier.

Note that any webview using this data store should be closed before running this API.

See https://developer.apple.com/documentation/webkit/wkwebsitedatastore for more information.

DataStoreIdentifier

Promise<DataStoreIdentifier[]>

import { fetchDataStoreIdentifiers, removeDataStore } from '@tauri-apps/api/app';
for (const id of (await fetchDataStoreIdentifiers())) {
await removeDataStore(id);
}

2.4.0


© 2025 Tauri Contributors. CC-BY / MIT