You can call this operation to delete a node from a specified ApsaraDB for 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

Parameter Type Required Example Description
DBClusterId String Yes pc-xxxxxxxxxx

The ID of the cluster.

DBNodeId.N RepeatList Yes pi-xxxxxxxxxx

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

Note Currently, you can delete only a node at a time.
AccessKeyId String No key-test

The AccessKey ID provided to you by Alibaba Cloud.

Action String No DeleteDBNodes

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

ClientToken String No 6000170000591aed949d0f54a343f1a4233c1e7d1c5ca816be

The client token that is used to ensure the idempotence of the request. The value of this parameter is generated by the client and must be unique among different requests. The value is case-sensitive and can be up to 64 ASCII characters in length.

Response parameters

Parameter Type Example Description
DBClusterId String pc-xxxxxxxxxx

The ID of the cluster.

OrderId String 2035638xxxxxxx

The ID of the order.

RequestId String 6566B2E6-3157-4B57-A693-AFB751E67C25

The ID of the request.


Sample requests

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

Sample success responses

XML format


JSON format


Error codes

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