ModifyInstancesResourceGroup
Last updated
Last updated
This API is used to modify the resource group to which the instances belong.
Note
Batch operations are supported. The maximum number of instances in each request is 100.
Only the administrator in a team can perform this operation.
The following request parameter list only provides API request parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Parameter Name | Type | Description |
---|---|---|
Move instances to the specified resource group
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
HTTP Status Code | Error Code | Description |
---|---|---|
instanceIds
Yes
Array of String
List of instance IDs. The maximum number of instances in each request is 100.
resourceGroupId
Yes
String
Resource group ID.
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
404
OPERATION_FAILED_RESOURCE_GROUP_NOT_FOUND
Resource group does not exist.
404
OPERATION_FAILED_RESOURCE_NOT_FOUND
Resources do not exist.