All Products
Search
Document Center

Security Center:ModifyAssetGroup

Last Updated:May 22, 2025

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

Operation description

You can call the ModifyAssetGroup operation to change the server group to which one or more servers belong. After you create a server group by calling the CreateOrUpdateAssetGroup operation, you can call the ModifyAssetGroup operation to change the server group to which your servers belong.

Limits

You can call this API operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

10.12.XX.XX
GroupIdlongYes

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.
9586199
UuidsstringYes

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

Note You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
076a446d-df7d-424c-bdc5-bb5dc7f1****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

C2677612-7207-4AEB-BD48-8BA528F86777

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
400IllegalParamIllegal param-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-08-01The Error code has changedView Change Details