All Products
Search
Document Center

Hybrid Backup Recovery:DeleteHanaInstance

Last Updated:Nov 14, 2022

Deletes an SAP HANA instance.

Operation Description

If you delete an SAP HANA instance, the existing backup data is also deleted and the running backup and restore jobs fail to be completed. Before you delete the SAP HANA instance, make sure that you no longer need the data in the HBR client of the instance and no backup or restore jobs are running for the instance. To delete an SAP HANA instance, you must specify the security identifier (SID) of the instance. The SID is three characters in length and starts with a letter. For more information, see How to find sid user and instance number of HANA db?

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
VaultIdstringYes

The ID of the backup vault.

v-0008n2******ax3
ClusterIdstringYes

The ID of the SAP HANA instance.

cl-000g4z09******9cfc
SidstringYes

The SID of the SAP HANA database. You must specify a valid SID. The SID must be three characters in length and start with a letter. For more information, see How to find sid user and instance number of HANA db?

HXE
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmwutpyat2kwy

Response parameters

ParameterTypeDescriptionExample
object
Codestring

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

200
Messagestring

The message that is returned. If the call is successful, "successful" is returned. If the call fails, an error message is returned.

successful
RequestIdstring

The ID of the request.

28EAF89A-E0D8-5C04-9A1D-B373B29BCFB9
Successboolean

Indicates whether the call is successful. Valid values:

  • true: The call is successful.
  • false: The call fails.
true

Example

Request example

http(s)://[Endpoint]/?Action=DeleteHanaInstance
&VaultId=v-0008n2******ax3
&ClusterId=cl-000g4z09******9cfc
&Sid=HXE
&ResourceGroupId=rg-acfmwutpyat2kwy
&Common request parameters

Normal return example

JSONFormat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "28EAF89A-E0D8-5C04-9A1D-B373B29BCFB9",
  "Success": true
}

Error codes

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