Azure Backup Deleted Backup Vaults API
The DeletedBackupVaults API from Azure Backup — 2 operation(s) for deletedbackupvaults.
The DeletedBackupVaults API from Azure Backup — 2 operation(s) for deletedbackupvaults.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-backup:microsoft-azure-backup-deletedbackupvaults-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Data Protection Client Deleted Backup Vaults API
version: '2026-07-01'
description: Open API 2.0 Specs for Azure Data Protection service
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: DeletedBackupVaults
paths:
/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/deletedVaults:
get:
operationId: DeletedBackupVaults_ListByLocation
tags:
- DeletedBackupVaults
description: Lists deleted backup vaults by location
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/LocationParameter'
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/DeletedBackupVaultResourceListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Deleted backup vaults list by location
x-summary-source: derived
/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/deletedVaults/{deletedVaultName}:
get:
operationId: DeletedBackupVaults_Get
tags:
- DeletedBackupVaults
description: Gets a deleted backup vault
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/LocationParameter'
- name: deletedVaultName
in: path
description: The name of the DeletedBackupVaultResource
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/DeletedBackupVaultResource'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
summary: Deleted backup vaults get
x-summary-source: derived
components:
schemas:
DeletedBackupVaultResourceListResult:
type: object
description: The response of a DeletedBackupVaultResource list operation.
properties:
value:
type: array
description: The DeletedBackupVaultResource items on this page
items:
$ref: '#/components/schemas/DeletedBackupVaultResource'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
CrossRegionRestoreSettings:
type: object
properties:
state:
$ref: '#/components/schemas/CrossRegionRestoreState'
description: CrossRegionRestore state
StorageSetting:
type: object
description: Storage setting
properties:
datastoreType:
$ref: '#/components/schemas/StorageSettingStoreTypes'
description: Gets or sets the type of the datastore.
type:
$ref: '#/components/schemas/StorageSettingTypes'
description: Gets or sets the type.
SoftDeleteSettings:
type: object
description: Soft delete related settings
properties:
state:
$ref: '#/components/schemas/SoftDeleteState'
description: State of soft delete
retentionDurationInDays:
type: number
format: double
description: Soft delete retention duration
AzureMonitorAlertSettings:
type: object
description: Settings for Azure Monitor based alerts
properties:
alertsForAllJobFailures:
$ref: '#/components/schemas/AlertsState'
ResourceMoveDetails:
type: object
description: ResourceMoveDetails will be returned in response to GetResource call from ARM
properties:
operationId:
type: string
description: CorrelationId of latest ResourceMove operation attempted
startTimeUtc:
type: string
description: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format.
completionTimeUtc:
type: string
description: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format.
sourceResourcePath:
type: string
description: ARM resource path of source resource
targetResourcePath:
type: string
description: ARM resource path of target resource used in latest ResourceMove operation
ImmutabilitySettings:
type: object
description: Immutability Settings at vault level
properties:
state:
$ref: '#/components/schemas/ImmutabilityState'
description: Immutability state
configuration:
$ref: '#/components/schemas/ImmutabilityConfiguration'
description: Immutability configuration containing type and duration.
SecuritySettings:
type: object
description: Class containing security settings of vault
properties:
softDeleteSettings:
$ref: '#/components/schemas/SoftDeleteSettings'
description: Soft delete related settings
immutabilitySettings:
$ref: '#/components/schemas/ImmutabilitySettings'
description: Immutability Settings at vault level
encryptionSettings:
$ref: '#/components/schemas/encryptionSettings'
description: Customer Managed Key details of the resource.
MonitoringSettings:
type: object
description: Monitoring Settings
properties:
azureMonitorAlertSettings:
$ref: '#/components/schemas/AzureMonitorAlertSettings'
description: Settings for Azure Monitor based alerts
BCDRSecurityLevel:
type: string
description: Security Level of Backup Vault
enum:
- Poor
- Fair
- Good
- Excellent
- NotSupported
x-ms-enum:
name: BCDRSecurityLevel
modelAsString: true
values:
- name: Poor
value: Poor
- name: Fair
value: Fair
- name: Good
value: Good
- name: Excellent
value: Excellent
- name: NotSupported
value: NotSupported
StorageSettingTypes:
type: string
description: Gets or sets the type.
enum:
- GeoRedundant
- LocallyRedundant
- ZoneRedundant
x-ms-enum:
name: StorageSettingTypes
modelAsString: true
values:
- name: GeoRedundant
value: GeoRedundant
- name: LocallyRedundant
value: LocallyRedundant
- name: ZoneRedundant
value: ZoneRedundant
ResourceDeletionInfo:
type: object
description: Deletion info for a tracked resource (Backup Vault)
properties:
deletionTime:
type: string
format: date-time
description: Specifies time of deletion for the tracked resource (Backup Vault)
readOnly: true
scheduledPurgeTime:
type: string
format: date-time
description: Specifies the scheduled purge time for the tracked resource (Backup Vault)
readOnly: true
deleteActivityId:
type: string
description: Delete activity ID for troubleshooting the deletion of the tracked resource
readOnly: true
CrossRegionRestoreState:
type: string
description: CrossRegionRestore state
enum:
- Disabled
- Enabled
x-ms-enum:
name: CrossRegionRestoreState
modelAsString: true
values:
- name: Disabled
value: Disabled
- name: Enabled
value: Enabled
AlertsState:
type: string
enum:
- Enabled
- Disabled
x-ms-enum:
name: AlertsState
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
CrossSubscriptionRestoreSettings:
type: object
description: CrossSubscriptionRestore Settings
properties:
state:
$ref: '#/components/schemas/CrossSubscriptionRestoreState'
description: CrossSubscriptionRestore state
encryptionSettings:
type: object
description: Customer Managed Key details of the resource.
properties:
state:
$ref: '#/components/schemas/EncryptionState'
description: Encryption state of the Backup Vault.
keyVaultProperties:
$ref: '#/components/schemas/CmkKeyVaultProperties'
description: The properties of the Key Vault which hosts CMK
kekIdentity:
$ref: '#/components/schemas/CmkKekIdentity'
description: The details of the managed identity used for CMK
infrastructureEncryption:
$ref: '#/components/schemas/InfrastructureEncryptionState'
description: Enabling/Disabling the Double Encryption state
InfrastructureEncryptionState:
type: string
description: Enabling/Disabling the Double Encryption state
enum:
- Enabled
- Disabled
x-ms-enum:
name: InfrastructureEncryptionState
modelAsString: true
values:
- name: Enabled
value: Enabled
- name: Disabled
value: Disabled
EncryptionState:
type: string
description: Encryption state of the Backup Vault.
enum:
- Enabled
- Disabled
- Inconsistent
x-ms-enum:
name: EncryptionState
modelAsString: true
values:
- name: Enabled
value: Enabled
description: CMK encryption is enabled on the Backup Vault
- name: Disabled
value: Disabled
description: CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'.
- name: Inconsistent
value: Inconsistent
description: CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state.
StorageSettingStoreTypes:
type: string
description: Gets or sets the type of the datastore.
enum:
- ArchiveStore
- OperationalStore
- VaultStore
x-ms-enum:
name: StorageSettingStoreTypes
modelAsString: true
values:
- name: ArchiveStore
value: ArchiveStore
- name: OperationalStore
value: OperationalStore
- name: VaultStore
value: VaultStore
ProvisioningState:
type: string
description: Provisioning state of the BackupVault resource
enum:
- Failed
- Provisioning
- Succeeded
- Unknown
- Updating
x-ms-enum:
name: ProvisioningState
modelAsString: true
values:
- name: Failed
value: Failed
- name: Provisioning
value: Provisioning
- name: Succeeded
value: Succeeded
- name: Unknown
value: Unknown
- name: Updating
value: Updating
readOnly: true
ResourceMoveState:
type: string
description: Resource move state for backup vault
enum:
- Unknown
- InProgress
- PrepareFailed
- CommitFailed
- Failed
- PrepareTimedout
- CommitTimedout
- CriticalFailure
- PartialSuccess
- MoveSucceeded
x-ms-enum:
name: ResourceMoveState
modelAsString: true
values:
- name: Unknown
value: Unknown
- name: InProgress
value: InProgress
- name: PrepareFailed
value: PrepareFailed
- name: CommitFailed
value: CommitFailed
- name: Failed
value: Failed
- name: PrepareTimedout
value: PrepareTimedout
- name: CommitTimedout
value: CommitTimedout
- name: CriticalFailure
value: CriticalFailure
- name: PartialSuccess
value: PartialSuccess
- name: MoveSucceeded
value: MoveSucceeded
GranularityLevel:
type: string
enum:
- VaultLevel
- ProtectedItemLevel
- ProtectedItemWithParentTag
x-ms-enum:
name: GranularityLevel
modelAsString: true
values:
- name: VaultLevel
value: VaultLevel
- name: ProtectedItemLevel
value: ProtectedItemLevel
- name: ProtectedItemWithParentTag
value: ProtectedItemWithParentTag
CmkKeyVaultProperties:
type: object
description: The properties of the Key Vault which hosts CMK
properties:
keyUri:
type: string
description: The key uri of the Customer Managed Key
ImmutabilityConfiguration:
type: object
description: Immutability configuration containing type and duration.
properties:
type:
$ref: '#/components/schemas/ImmutabilityType'
description: 'Type of immutability. Supported values: AsPerPolicy or TimeBased.'
durationInDays:
type: integer
format: int32
description: 'Duration in days for time-based immutability.
Required when type is TimeBased. Must be null when type is AsPerPolicy.'
SoftDeleteState:
type: string
description: State of soft delete
enum:
- 'Off'
- 'On'
- AlwaysOn
x-ms-enum:
name: SoftDeleteState
modelAsString: true
values:
- name: 'Off'
value: 'Off'
description: Soft Delete is turned off for the BackupVault
- name: 'On'
value: 'On'
description: Soft Delete is enabled for the BackupVault but can be turned off
- name: AlwaysOn
value: AlwaysOn
description: Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
CostManagementSettings:
type: object
description: Cost Management Settings of the vault
properties:
granularityLevel:
$ref: '#/components/schemas/GranularityLevel'
description: Settings for granularity level
FeatureSettings:
type: object
description: Class containing feature settings of vault
properties:
crossSubscriptionRestoreSettings:
$ref: '#/components/schemas/CrossSubscriptionRestoreSettings'
description: CrossSubscriptionRestore Settings
crossRegionRestoreSettings:
$ref: '#/components/schemas/CrossRegionRestoreSettings'
IdentityType:
type: string
description: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity.
enum:
- SystemAssigned
- UserAssigned
x-ms-enum:
name: IdentityType
modelAsString: true
values:
- name: SystemAssigned
value: SystemAssigned
- name: UserAssigned
value: UserAssigned
CmkKekIdentity:
type: object
description: The details of the managed identity used for CMK
properties:
identityType:
$ref: '#/components/schemas/IdentityType'
description: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity.
identityId:
type: string
description: 'The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: ''UserAssigned'' only.'
DeletedBackupVault:
type: object
description: Deleted Backup Vault - uses composition with BackupVault and additional deletion metadata
properties:
monitoringSettings:
$ref: '#/components/schemas/MonitoringSettings'
description: Monitoring Settings
costManagementSettings:
$ref: '#/components/schemas/CostManagementSettings'
description: Cost Management Settings of the vault
provisioningState:
$ref: '#/components/schemas/ProvisioningState'
description: Provisioning state of the BackupVault resource
readOnly: true
resourceMoveState:
$ref: '#/components/schemas/ResourceMoveState'
description: Resource move state for backup vault
readOnly: true
resourceMoveDetails:
$ref: '#/components/schemas/ResourceMoveDetails'
description: Resource move details for backup vault
readOnly: true
securitySettings:
$ref: '#/components/schemas/SecuritySettings'
description: Security Settings
storageSettings:
type: array
description: Storage Settings
items:
$ref: '#/components/schemas/StorageSetting'
x-ms-identifiers: []
isVaultProtectedByResourceGuard:
type: boolean
description: Is vault protected by resource guard
readOnly: true
featureSettings:
$ref: '#/components/schemas/FeatureSettings'
description: Feature Settings
secureScore:
$ref: '#/components/schemas/SecureScoreLevel'
description: Secure Score of Backup Vault
readOnly: true
bcdrSecurityLevel:
$ref: '#/components/schemas/BCDRSecurityLevel'
description: Security Level of Backup Vault
readOnly: true
resourceGuardOperationRequests:
type: array
description: ResourceGuardOperationRequests on which LAC check will be performed
items:
type: string
replicatedRegions:
type: array
description: List of replicated regions for Backup Vault
items:
type: string
originalBackupVaultId:
type: string
description: Resource Id of the original backup vault
readOnly: true
originalBackupVaultName:
type: string
description: Resource name of the original backup vault
readOnly: true
originalBackupVaultResourcePath:
type: string
description: Resource path of the original backup vault
readOnly: true
resourceDeletionInfo:
$ref: '#/components/schemas/ResourceDeletionInfo'
description: Deletion info for the tracked resource (Backup Vault)
readOnly: true
required:
- originalBackupVaultId
- originalBackupVaultName
- originalBackupVaultResourcePath
- resourceDeletionInfo
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
DeletedBackupVaultResource:
type: object
description: Deleted Backup Vault Resource (available from version 2025-09-01)
properties:
properties:
$ref: '#/components/schemas/DeletedBackupVault'
description: The resource-specific properties for this resource.
allOf:
- $ref: '#/components/schemas/ProxyResource'
ImmutabilityState:
type: string
description: Immutability state
enum:
- Disabled
- Unlocked
- Locked
x-ms-enum:
name: ImmutabilityState
modelAsString: true
values:
- name: Disabled
value: Disabled
- name: Unlocked
value: Unlocked
- name: Locked
value: Locked
ImmutabilityType:
type: string
description: Type of immutability configuration.
enum:
- AsPerPolicy
- TimeBased
x-ms-enum:
name: ImmutabilityType
modelAsString: true
values:
- name: AsPerPolicy
value: AsPerPolicy
description: Immutability is enforced as per the backup policy retention.
- name: TimeBased
value: TimeBased
description: Time-based immutability with a configurable duration window.
SecureScoreLevel:
type: string
description: Secure Score of Backup Vault
enum:
- None
- Minimum
- Adequate
- Maximum
- NotSupported
x-ms-enum:
name: SecureScoreLevel
modelAsString: true
values:
- name: None
value: None
- name: Minimum
value: Minimum
- name: Adequate
value: Adequate
- name: Maximum
value: Maximum
- name: NotSupported
value: NotSupported
CrossSubscriptionRestoreState:
type: string
description: CrossSubscriptionRestore state
enum:
- Disabled
- PermanentlyDisabled
- Enabled
x-ms-enum:
name: CrossSubscriptionRestoreState
modelAsString: true
values:
- name: Disabled
value: Disabled
- name: PermanentlyDisabled
value: PermanentlyDisabled
- name: Enabled
value: Enabled
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
LocationParameter:
name: location
in: path
description: The name of the Azure region.
required: true
x-ms-parameter-location: method
schema:
type: string
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.