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

# PUT /prerestore

`PUT /prerestore`

Pre-restore operation for checking whether the customer can perform a full restore operation.

## Query parameters

- `api-version` string, required

## Request body

- PreRestoreOperationParameters — The authentication method and location for the restore operation.
  - `sasTokenParameters` SASTokenParameter — 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 — 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.

## Changes

- **2026-07-13** (2025-06-01-preview) `d5ce149a3c30` — 1 info
  - endpoint added
- **2026-07-13** (2025-06-01-preview) `657f139f664a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/keyvault-administration/changes/prerestore/put.md)

---

[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)
