All Products
Search
Document Center

Smart Access Gateway:DeleteSmartAccessGatewayDnsForward

Last Updated:Mar 29, 2024

Disables DNS forwarding for SCG5000 or SCG5000-5G devices whose software version is 3.4.2 or later.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SagInsIdstringYes

The ID of the SAG instance.

sag-v9un1ccz22owd76lf8
SagSnstringYes

The serial number (SN) of the device.

sagf4dkqh78
InstanceIdstringYes

The ID of the instance.

sagv3dnsforward-nc7qabskj17werc7su
RegionIdstringYes

The ID of the region where the SAG instance is deployed.

cn-shanghai

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE
Successstring

Indicates whether the request is successful.

Enumeration Value:
  • true: true.
  • false: false.
true
Codestring

The response code.

200
Messagestring

The message that is returned.

Successful
HttpStatusCodestring

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "RequestId": "0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE",
  "Success": "true",
  "Code": "200",
  "Message": "Successful",
  "HttpStatusCode": "200"
}

Error codes

HTTP status codeError codeError message
400InvalidSpec.FeatureNotSupportThe current edition of the cloudbranch does not support this feature.
400GATEWAY.InvalidSNThe specified gateway serial number does not exist.
400CCN.DNS.Forward.IdNotExistDNS forwarding does not exist.
400ConfigUnsynchronizedThe configs of device are unsynchronized, please check whether the device is online
400DeviceNotExistThe specified device does not exist

For a list of error codes, visit the Service error codes.