Changes the resource group of a resource.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
project |
| ResourceId |
string |
Yes |
The ID of the resource. The value of this parameter depends on the value of the ResourceType parameter:
|
test_project |
| ResourceManagerResourceGroupId |
string |
Yes |
The ID of the destination resource group. |
rg-bp67acfmxazb4p**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned results. |
||
| Data |
boolean |
Indicates whether the resource group was changed. |
true |
| RequestId |
string |
The request ID. |
1AFAE64E-D1BE-432B-A9**** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "1AFAE64E-D1BE-432B-A9****",
"HttpStatusCode": 200,
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.