---
title: "Restores a backed up storage account to a vault."
method: POST
path: "/storage/restore"
tags: ["Storage"]
---

# Restores a backed up storage account to a vault.

`POST /storage/restore`

Restores a backed up storage account to a vault. This operation requires the storage/restore permission.

## Query parameters

- `api-version` string, required

## Request body

- StorageRestoreParameters — The secret restore parameters.
  - `value` string, base64url, required — The backup blob associated with a storage account.

## Response `200`

Restored storage account bundle in the vault.

- StorageBundle — A Storage account bundle consists of key vault storage account details plus its attributes.
  - `id` string — The storage account id.
  - `resourceId` string — The storage account resource id.
  - `activeKeyName` string — The current active storage account key name.
  - `autoRegenerateKey` boolean — whether keyvault should manage the storage account for the user.
  - `regenerationPeriod` string — The key regeneration time duration specified in ISO-8601 format.
  - `attributes` StorageAccountAttributes — The storage account management attributes.
    - `enabled` boolean — the enabled state of the object.
    - `created` integer — Creation time in UTC.
    - `updated` integer — Last updated time in UTC.
    - `recoveryLevel` 'Purgeable' | 'Recoverable+Purgeable' | 'Recoverable' | 'Recoverable+ProtectedSubscription' — Reflects the deletion recovery level currently in effect for storage accounts in the current vault. If it contains 'Purgeable' the storage account can be permanently deleted by a privileged user; otherwise, only the system can purge the storage account, at the end of the retention interval.
  - `tags` object — Application specific metadata in the form of key-value pairs

## Other responses

- `default` — Key Vault error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/keyvaultclient.md) · [All operations](https://skmtc.net/azure/apis/keyvaultclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/keyvaultclient/revisions/1f612999ec40/schema)
