> ## 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.restoreEntry()

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

## `storage.restoreEntry()`

Restores an archived storage entry. Permanently deleted entries cannot be restored.

Notes:

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

### Overloads

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

static restoreEntry(
      namespace: string,
      storageEntryId: string,
      data: StorageRestoreInput,
    ): Promise<StorageEntryView>;
```

### Example

```ts theme={null}
const entry = await storage.restoreEntry(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.