Removing an Instance from an AS Group

Function

This interface is used to remove a specified instance from an AS group.

URI

DELETE /autoscaling-api/v1/{project_id}/scaling_group_instance/{instance_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

instance_id

Yes

String

Specifies the instance ID. For details, see Querying Instances in an AS Group.

instance_delete

No

String

Specifies whether an instance is deleted when it is removed from the AS group.

Options:

  • no (default): The instance will not be deleted.
  • yes: The instance will be deleted.

Request Message

Response Message

Returned Values

Error Codes

See Error Codes.