删除DNS转发,适用于设备类型为SCG5000或SCG5000-5G的智能接入网关实例,且设备版本为3.4.2及以上。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
smartag:DeleteSmartAccessGatewayDnsForward |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
SagInsId |
string |
是 |
网关实例 id |
sag-v9un1ccz22owd76lf8 |
SagSn |
string |
是 |
设备 SN |
sagf4dkqh78 |
InstanceId |
string |
是 |
实例 ID |
sagv3dnsforward-nc7qabskj17werc7su |
RegionId |
string |
是 |
智能接入网关实例所在的地域 id |
cn-shanghai |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
Schema of Response |
||
RequestId |
string |
Id of the request |
0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE |
Success |
string |
是否成功 |
true |
Code |
string |
响应码 |
200 |
Message |
string |
返回信息 |
Successful |
HttpStatusCode |
string |
HTTP 状态码 |
200 |
示例
正常返回示例
JSON
格式
{
"RequestId": "0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE",
"Success": "true",
"Code": "200",
"Message": "Successful",
"HttpStatusCode": "200"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | InvalidSpec.FeatureNotSupport | The current edition of the cloudbranch does not support this feature. | |
400 | GATEWAY.InvalidSN | The specified gateway serial number does not exist. | |
400 | CCN.DNS.Forward.IdNotExist | DNS forwarding does not exist. | |
400 | ConfigUnsynchronized | The configs of device are unsynchronized, please check whether the device is online | |
400 | DeviceNotExist | The specified device does not exist |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。