Moves an MSE resource to a different resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ChangeResourceGroup |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
Resource type, such as a registration and configuration center cluster or a gateway instance. |
Cluster,Gateway |
| ResourceId |
string |
Yes |
The ID of the registration and configuration center instance or the unique ID of the gateway. |
mse-cn-xxxxxxxxxxx, gw-xxxxxxxxxxxxxxxxxxxx |
| ResourceRegionId |
string |
Yes |
Region ID |
cn-hangzhou |
| ResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-acfm34x43l***** |
| AcceptLanguage |
string |
No |
The language of the response. Valid values: zh (default): Chinese. en: English. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response Schema |
||
| RequestId |
string |
The request ID. |
54973C90-F379-4372-9AA5-053A3F7**** |
Examples
Success response
JSON format
{
"RequestId": "54973C90-F379-4372-9AA5-053A3F7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission.ChangeResourceGroup | You are not authorized to change resourcegroup | |
| 400 | MissingParameter.ResourceRegionId | The ResourceRegionId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceId | The ResourceId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceGroupId | The ResourceGroupId parameters that are required for processing this request are missing | |
| 400 | InvalidResourceGroup | The specified ResourceGroupId is invalid | |
| 400 | SystemError | A system error occurred while processing your request | |
| 400 | ResourceNotFound | The specified resource is not found | |
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.