Changes the resource group to which an instance belongs.
Try it now
Test
RAM authorization
Request syntax
POST /v2/openapi/changeresourcegroup HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| ResourceId |
string |
Yes |
The resource ID, which is the instance name. |
first-ins |
| NewResourceGroupId |
string |
Yes |
The ID of the new resource group. |
rg-aek3bgek3kxhyky |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned struct. |
||
| RequestId |
string |
The request ID, which can be used to troubleshoot issues. |
39871ED2-62C0-578F-A32E-B88072D5582F |
Examples
Success response
JSON format
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.