RemoveResourceGroupModelTemplate
Removes a model group from resource groups.
Operation description
You can authorize model groups for the resources to which agent runtimes such as JVS Computer, OpenClaw, and Hermes Agent belong in the Wuying Agent Management Center. These model groups serve as inference engines for agents in the resource groups to execute tasks.
If an agent runtime is configured with a model group and its resource group is also configured with a model group, the model group bound to the resource group takes effect. That is, the resource group settings take precedence over the agent runtime settings.
When you remove the model group from the resource group to which the agent runtime belongs, the model group configured for the agent runtime automatically takes effect.
Make sure that you fully understand the operations and usage of the Wuying Agent Management Center before you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:RemoveResourceGroupModelTemplate |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ModelTemplateId |
string |
Yes |
The model group ID. |
mt-xxxx |
| ResourceGroupIds |
array |
Yes |
The list of resource group IDs. |
|
|
string |
Yes |
The resource group ID. |
rg-xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request result. |
||
| Data |
array<object> |
The removal results. |
|
|
object |
The returned data object. |
||
| ResourceGroupId |
string |
The resource group ID. |
rg-xxxxx |
| Success |
boolean |
Indicates whether the execution is successful. |
true |
| Code |
string |
The error code returned when the execution fails. |
InvalidParameter.resourceGroupIds |
| Message |
string |
The error message returned when the execution fails. |
The parameter resourceGroupIds is invalid. |
| TotalCount |
integer |
The total count. |
6 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"Data": [
{
"ResourceGroupId": "rg-xxxxx",
"Success": true,
"Code": "InvalidParameter.resourceGroupIds",
"Message": "The parameter resourceGroupIds is invalid."
}
],
"TotalCount": 6,
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.