terminateServerInstanceInAutoScalingGroup
    • PDF

    terminateServerInstanceInAutoScalingGroup

    • PDF

    Article Summary

    Overview

    Terminates the specified server instance. You can choose to reduce the group size by one as soon as the server instance is deleted.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    serverInstanceNoYString-Number of the server instance to delete
    It is not valid if the server instance does not belong to your Auto Scaling group.
    shouldDecrementDesiredCapacityYBoolean-Indicates whether to reduce the Auto Scaling group size by one as soon as the server instance is deleted.
    Set this parameter to true if you want to reduce the size, or false if you don’t.

    Response

    Response body

    Examples

    Request example

    {AUTOSCALILNG_API_URL}/terminateServerInstanceInAutoScalingGroup
    ?serverInstanceNo=68124
    &shouldDecrementDesiredCapacity=false
    

    Response example

    <terminateServerInstanceInAutoScalingGroupResponse>
       <requestId>1d7573fd-d321-400b-82bd-8a3a9692b5b6</requestId>
       <returnCode>0</returnCode>
       <returnMessage>success</returnMessage>
    </terminateServerInstanceInAutoScalingGroupResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.