Deletes a read-only node from a specified PolarDB cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters


The operation that you want to perform. Set the value to DeleteDBNodes.


The ID of the PolarDB cluster whose node is to be deleted.


The ID of the node to be deleted. N is a positive integer that starts from 1. The maximum value of N is the number of current nodes minus 2. Each cluster must contain at least one primary node and one read-only node.

Note You can delete multiple read-only nodes at a time from only PolarDB for MySQL cluster.

The client token that is used to ensure the idempotence of the requests. If an API operation is idempotent, the API operation returns the same result for identical requests. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token is case-sensitive, and can contain a maximum of 64 ASCII characters in length.

Response parameters


The ID of the PolarDB cluster.


The ID of the order.


The ID of the request.


Sample requests

http(s):// Action=DeleteDBNodes
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "6566B2E6-3157-4B57-A693-AFB751******",
    "OrderId": "2035638*******",
    "DBClusterId": "pc-**************"

Error codes

For a list of error codes, visit the API Error Center.