---
title: "Lists deleted SAS definitions for the specified vault and storage account."
method: GET
path: "/deletedstorage/{storage-account-name}/sas"
tags: ["DeletedStorage"]
---

# Lists deleted SAS definitions for the specified vault and storage account.

`GET /deletedstorage/{storage-account-name}/sas`

The Get Deleted Sas Definitions operation returns the SAS definitions that have been deleted for a vault enabled for soft-delete. This operation requires the storage/listsas permission.

## Path parameters

- `storage-account-name` string, required

## Query parameters

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

## Response `200`

A response message containing a list of deleted SAS definitions for the storage account, along with a link to the next page of deleted SAS definitions.

- DeletedSasDefinitionListResult — The deleted SAS definition list result
  - `value` DeletedSasDefinitionItem[] — A response message containing a list of the deleted SAS definitions in the vault along with a link to the next page of deleted sas definitions
    - `id` string — The storage SAS identifier.
    - `sid` string — The storage account SAS definition secret id.
    - `attributes` SasDefinitionAttributes — The SAS definition 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 SAS definitions in the current vault. If it contains 'Purgeable' the SAS definition can be permanently deleted by a privileged user; otherwise, only the system can purge the SAS definition, 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 SAS definitions.

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