---
title: "Lists deleted storage accounts for the specified vault."
method: GET
path: "/deletedstorage"
tags: ["DeletedStorage"]
---

# Lists deleted storage accounts for the specified vault.

`GET /deletedstorage`

The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.

## Query parameters

- `maxresults` integer
- `api-version` string, required

## Response `200`

A response message containing a list of deleted storage accounts in the vault, along with a link to the next page of deleted storage accounts.

- DeletedStorageListResult — The deleted storage account list result
  - `value` DeletedStorageAccountItem[] — A response message containing a list of the deleted storage accounts in the vault along with a link to the next page of deleted storage accounts
    - `id` string — Storage identifier.
    - `resourceId` string — Storage account resource Id.
    - `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.
  - `nextLink` string — The URL to get the next set of deleted storage accounts.

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