> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revoengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# storage.deleteEntry()

> Public low-code contract, signatures and examples for storage.deleteEntry.

## `storage.deleteEntry()`

Permanently deletes an archived storage entry and its backing objects.
Use archiveEntry for reversible removal and restoreEntry to undo an archive.

Notes:

* Unavailable with `readOnly: true` (throws an error).

### Overloads

```ts theme={null}
static deleteEntry(
      storageEntryId: string,
      data: StorageVersionInput,
    ): Promise<StorageEntryView>;

static deleteEntry(
      namespace: string,
      storageEntryId: string,
      data: StorageVersionInput,
    ): Promise<StorageEntryView>;
```

### Example

```ts theme={null}
const entry = await storage.deleteEntry(storageEntryId, { version: currentVersion });
```

See [all storage methods](https://docs.revoengine.com/low-code/reference/storage.md) or [runtime basics](https://docs.revoengine.com/low-code/overview.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.