---
title: "Lists the deleted certificates in the specified vault currently available for recovery."
method: GET
path: "/deletedcertificates"
tags: ["DeletedCertificates"]
---

# Lists the deleted certificates in the specified vault currently available for recovery.

`GET /deletedcertificates`

The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.

## Query parameters

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

## Response `200`

A response message containing a list of deleted certificates in the vault along with a link to the next page of deleted certificates

- DeletedCertificateListResult — A list of certificates that have been deleted in this vault.
  - `value` DeletedCertificateItem[] — A response message containing a list of deleted certificates in the vault along with a link to the next page of deleted certificates
    - `id` string — Certificate identifier.
    - `attributes` CertificateAttributes — The object attributes managed by the KeyVault service.
      - `enabled` boolean — Determines whether the object is enabled.
      - `nbf` integer — Not before date in UTC.
      - `exp` integer — Expiry date in UTC.
      - `created` integer — Creation time in UTC.
      - `updated` integer — Last updated time in UTC.
    - `tags` object — Application specific metadata in the form of key-value pairs.
    - `x5t` string, base64url — Thumbprint of the certificate.
  - `nextLink` string — The URL to get the next set of deleted certificates.

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