All Products
Search
Document Center

Hybrid Backup Recovery:DeleteVault

Last Updated:Nov 14, 2022

Deletes a backup vault.

Operation Description

  • You cannot delete a backup vault within 2 hours after the backup vault is created or a backup vault that is in the INITIALIZING state.
  • After you delete a backup vault, all resources that are associated with the backup vault are deleted. The resources include backup clients of earlier versions, backup plans, backup jobs, snapshots, and restore jobs.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TokenstringNo

The token.

caeba0bbb2be03f84eb48b699f0a*
VaultIdstringNo

The ID of the backup vault.

v-*********************
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmoiyerpacj4q

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The HTTP status code. The status code 200 indicates that the request is successful.

200
Messagestring

The message that is returned. If the request is successful, a value of successful is returned. If the request fails, an error message is returned.

successful
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
Successboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request failed.
true

Example

Request example

http(s)://[Endpoint]/?Action=DeleteVault
&<Common request parameters>

Normal return example

JSONFormat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "Success": true
}

Error codes

For a list of error codes, visit the API error center.