You can call DeleteResourcePool operation to delete a specified resource pool.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteResourcePool

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

ClusterId String Yes C-EBD62A703A43****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

RegionId String Yes cn-hangzhou

The region ID. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

ResourcePoolId String Yes 115

The ID of the resource pool. You can call ListResourcePool View the resource pool ID.

Response parameters

Parameter Type Example Description
RequestId String 26CE1B1C-C2FE-49DC-8CDF-5D9055B663A2

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteResourcePool
&ClusterId=C-EBD62A703A43****
&RegionId=cn-hangzhou
&ResourcePoolId=115
&<common request parameters>

Sample success responses

XML format

<code>200</code>
<requestId>A544317F-4A60-4532-AC96-191B9D80420A</requestId>
<successResponse>true</successResponse>

JSON Syntax

{
    "code":"200",
    "requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
    "successResponse":true
}