apig__UpdateSlDomainSettingV2
Enable or disable access to the debug domain bound to an API group in API Gateway by updating the setting for the specified instance and project.
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": {
"group_id": "<group_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"sl_domain_access_enabled": "<sl_domain_access_enabled>"
},
"name": "apig__UpdateSlDomainSettingV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | 分组的编号 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 | |
| sl_domain_access_enabled | Yes | 设置调试域名是否可以访问,true为可以访问,false为禁止访问 |