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
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
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 202
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.