You can call this operation to delete a resource pool.

Request parameters

Name Type Required Example Description
ClusterId String Yes C-0E995C0EE7E5ECB3 The cluster ID.
RegionId String Yes cn-hangzhou The region location ID.
ResourcePoolId Long Yes 115 The ID of the resource pool.
AccessKeyId String No xxx The AccessKey ID.

Response parameters

Name Type Example Description
RequestId String A544317F-4A60-4532-AC96-191B9D80420AF The request ID.

Examples

  • Sample requests
    /? Action=DeleteResourcePool
    &ClusterId=C-EBD62A703A430E23
    &RegionId=cn-hangzhou 
    &ResourcePoolId=115
    &AccessKeyId=
    &<Common request parameters>
  • Successful response examples
    JSON format
    {
    	"code":"200",
    	"requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
    	"successResponse":true
    }
  • Error response examples
    JSON format
    {
    	"code":"4009",
    	"message":"The User Account maybe is out of service!",
    	"requestId":"7DF74E3B-5BEA-4365-8E67-4FD95095924F",
    	"successResponse":false
    }

Error codes

View error codes.