---
title: "PUT /restore"
method: PUT
path: "/restore"
---

# PUT /restore

`PUT /restore`

Restores all key materials using the SAS token pointing to a previously stored Azure Blob storage backup folder

## Query parameters

- `api-version` string, required

## Request body

- RestoreOperationParameters — The authentication method and location for the restore operation.
  - `sasTokenParameters` SASTokenParameter, required — An authentication method and location for the operation.
    - `storageResourceUri` string, required — Azure Blob storage container Uri
    - `token` string — The SAS token pointing to an Azure Blob storage container
    - `useManagedIdentity` boolean — Indicates which authentication method should be used. If set to true, Managed HSM will use the configured user-assigned managed identity to authenticate with Azure Storage. Otherwise, a SAS token has to be specified.
  - `folderToRestore` string, required — The Folder name of the blob where the previous successful full backup was stored

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

- RestoreOperation — Restore operation
  - `status` 'InProgress' | 'Succeeded' | 'Canceled' | 'Failed' — The status of a long-running operation.
  - `statusDetails` string — The status details of restore operation.
  - `error` Error, nullable
    - `code` string — The error code.
    - `message` string — The error message.
    - `innererror` Error — recursive
  - `jobId` string — Identifier for the restore operation.
  - `startTime` integer — The start time of the restore operation
  - `endTime` integer, nullable — The end time of the restore operation

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/keyvault-administration.md) · [All operations](https://skmtc.dev/azure/apis/keyvault-administration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/keyvault-administration/revisions/207d840b9335/schema)
