Modifies the server group to which one or more servers belong.


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 parameters

Parameter Type Required Example Description
Action String Yes ModifyAssetGroup

The operation that you want to perform.

Se the value to ModifyAssetGroup.

SourceIp String No 10.12.XX.XX

The source IP address of the request.

GroupId Long No 9586199

The ID of the new server group to which the servers belong.

Note You can call the DescribeAllGroups operation to query the IDs of server groups.
Uuids String No 076a446d-df7d-424c-bdc5-bb5dc7f1****

The UUID of the server for which you want to modify the server group. Separate multiple UUIDs with commas (,).

Note You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String C2677612-7207-4AEB-BD48-8BA528F86777

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "C2677612-7207-4AEB-BD48-8BA528F86777"

Error codes

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