All Products
Search
Document Center

Hologres:UnBindLeaderInstance

Last Updated:May 21, 2026

Detaches a read-only instance from its primary instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /api/v1/instances/{instanceId}/unBindReadOnly HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

The ID of the read-only instance.

hgpostcn-cn-7212z8edx001

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The ID of the request.

288D934D-3F25-5BA6-9B50-7ABB3017A134

Data

boolean

Whether the instance was successfully detached.

Valid values:

  • true :

    Success

  • false :

    Failure

true

Success

boolean

Indicates whether the API call was successful. This does not indicate the outcome of the detach operation.

Valid values:

  • true :

    Success

  • false :

    Failure

true

ErrorCode

string

The error code.

404

ErrorMessage

string

The error message.

Internal server error.

HttpStatusCode

string

The HTTP status code.

200

Examples

Success response

JSON format

{
  "RequestId": "288D934D-3F25-5BA6-9B50-7ABB3017A134",
  "Data": true,
  "Success": true,
  "ErrorCode": "404",
  "ErrorMessage": "Internal server error.",
  "HttpStatusCode": "200"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.