Delete Cluster Scaling Group Label

Last updated: 2020-06-04 17:22:43

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new TKE API 3.0 which is standardized and faster.

    API Description

    This API (DeleteClusterAsg) is used to delete a cluster scaling group. Deleting a scaling group will terminate the CVMs in the scaling group. Please proceed with caution.

    Domain name for API request:

    ccs.api.qcloud.com

    Input Parameters

    The following request parameter list only provides API request parameters.

    Parameter Name Description Required Type
    clusterId Cluster ID. Yes String
    autoScalingGroupIds Scaling group ID list Yes Array

    Output Parameters

    Parameter Name Description Type
    code Common error code. 0: Successful; other values: Failed. Int
    codeDesc Error code at business side. For a successful operation, "Success" is returned. In case of an error, a message describing the reason for the error is returned. String
    message Module error message description depending on API String

    Example

    Input

      https://domain/v2/index.php?Action=DeleteClusterAsg
      &clusterId=cls-xxxxxxxx
      &autoScalingGroupIds.0=asg-xxxxxxxx
      &other common parameters

    Output

    
    {
        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "data": {
        }
    }
    

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help