ObsidianTransport.unregisterVault method
ObsidianTransport › unregisterVault
Unregisters a vault path from the running Obsidian instance.On desktop: closes the vault window and removes it from the registry. On mobile: removes vault files from the device.
Signature:
unregisterVault(vaultPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| vaultPath | string | The absolute path to the vault folder. |