Changes the resource group to which a resource belongs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ChangeResourceGroup |
update |
*Project
|
|
None |
Request syntax
PUT /resourcegroup HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
No |
The project to which the resource belongs. |
ali-test-project |
| body |
object |
No |
The request struct. |
ali-test-project |
| resourceType |
string |
No |
The type of the resource. Only PROJECT is supported. Set the value to PROJECT. |
PROJECT |
| resourceId |
string |
Yes |
The ID of the resource. |
ali-test-project |
| resourceGroupId |
string |
Yes |
The ID of the resource group. |
rg-ae******ey |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.