Use UpdateResourceGroup to update resource group information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pai:UpdateResourceGroup |
none |
*ResourceGroup
|
None | None |
Request syntax
PUT /api/v1/resources/{ResourceGroupID} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupID |
string |
No |
The ID of the resource group. |
rgf0zhfqn1d4ity2 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| UserVpc | UserVpc |
No |
Information about the VPC connected to the resource group. |
|
| Unbind |
boolean |
No |
Whether to detach the resource group from the currently connected VPC. |
true |
| Name |
string |
No |
The name of the resource group. |
prophet |
| Description |
string |
No |
The description of the resource group. |
test_new_havpn_tf |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
FFB1D4B4-B253-540A-9B3B-AA711C48A1B7 |
| ResourceGroupID |
string |
The ID of the resource group. |
rgf0zhfqn1d4ity2 |
Examples
Success response
JSON format
{
"requestId": "FFB1D4B4-B253-540A-9B3B-AA711C48A1B7",
"ResourceGroupID": "rgf0zhfqn1d4ity2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.