Modifies the resource group of a resource.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /resourcegroup
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. | |
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-aek2i7nhaxifxey |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.