Changes the resource group to which an instance belongs.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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 parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
