Help Center> GeminiDB> API Reference> APIs v3> Disaster Recovery> Deleting a DR Relationship from a Specific Instance
Updated on 2023-11-21 GMT+08:00

Deleting a DR Relationship from a Specific Instance

Function

This API is used to delete a DR relationship from a specified instance.

A DR relationship is deleted between two instances only after this API is successfully called for both of the instances, respectively.

Constraints

This API supports GeminiDB Redis instances.

URI

POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/disaster-recovery/deconstruction

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID.

instance_id

Yes

String

Instance ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

Response Parameters

Status code: 202

Table 3 Response body parameters

Parameter

Type

Description

job_id

String

ID of the job that deletes the DR relationship.

Example Requests

  • URI example
    POST https://gaussdb-nosql.eu-west-101.myhuaweicloud.eu/v3/054e292c9880d4992f02c0196d3ea468/instances/054e292c9880d4992f02c0196d3ein12/disaster-recovery/deconstruction

Example Responses

Status code: 202

Accepted

{
  "job_id" : "c010abd0-48cf-4fa8-8cbc-090f093eaa2f"
}

Status Codes

For details, see Status Codes.

Error Codes

For details, see Error Codes.