Changes the application instance group for an Elastic Compute Service (ECS) instance on which an application is deployed.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

POST /pop/v5/changeorder/co_change_group HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes 3616cdca-4f92-**********

The ID of the application.

EccInfo String Yes 0cf49a6c-95a8-4aa8******

The ID of the Elastic Compute Container (ECC) that corresponds to the ECS instance for which you want to change the application instance group. You can call the ListApplicationEcc operation to query ECC IDs. For more information, see ListApplicationEcc. You can change the application instance group for an ECS instance at a time.

GroupName String Yes test

The name of the application instance group, for example, group_a and group_b. Default value: _DEFAULT_GROUP.

ForceStatus Boolean No true

Specifies whether to forcibly change the application instance group if the deployment package version of the ECC is inconsistent with that of the application instance group.

Response parameters

Parameter Type Example Description
ChangeOrderId String 435f-regfr4********************

The ID of the change process.

Code Integer 200

The HTTP status code.

Message String message

The response message.

RequestId String F9E4-FDS4-****************

The ID of the request.


Sample requests

POST /pop/v5/changeorder/co_change_group HTTP/1.1
Common request parameters
  "AppId": ""
  "EccInfo": ""
  "GroupName": ""

Sample success responses

XML format


JSON format

	"Message": "success",
	"ChangeOrderId": {},
	"Code": 200

Error codes

For a list of error codes, visit the API Error Center.