apig__DetachPluginFromApi
Detach one or more plugins from an API in a specified environment to remove their policies or features from that API. Use when you need to unbind plugins from a Huawei Cloud API Gateway API.
Instructions
[APIG] 解除绑定在API上的插件。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_id": "<api_id>",
"env_id": "<env_id>",
"instance_id": "<instance_id>",
"plugin_ids": "<plugin_ids>",
"project_id": "<project_id>"
},
"name": "apig__DetachPluginFromApi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_id | Yes | API编号 | |
| env_id | Yes | 绑定API的环境编码。 | |
| plugin_ids | Yes | 绑定的插件编码列表。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 |