apig__AcceptOrRejectEndpointConnections
Accept or reject endpoint connections for an API Gateway instance by specifying the action, endpoint IDs, instance, and project details.
Instructions
[APIG] 接受或拒绝实例节点连接。
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": {
"action": "<action>",
"endpoints": "<endpoints>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__AcceptOrRejectEndpointConnections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 允许或拒绝连接 | |
| endpoints | Yes | 终端节点列表 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 |