All Products
Search
Document Center

Smart Access Gateway:ModifySagManagementPort

Last Updated:Mar 29, 2024

Modifies the settings of a Smart Access Gateway (SAG) device port.

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
RegionIdstringYes

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

cn-shanghai
SmartAGIdstringYes

The ID of the SAG instance.

sag-whfn****
SmartAGSnstringYes

The serial number of the SAG device associated with the SAG instance.

sag32a30****
IPstringYes

The IP address of the management port.

192.XX.XX.1
MaskstringYes

The subnet mask for the IP address of the management port.

255.255.255.0
GatewaystringYes

The IP address of the management port gateway.

192.XX.XX.254

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

6877D55B-08F7-4DA3-916B-32A6FD402E06

Examples

Sample success responses

JSONformat

{
  "RequestId": "6877D55B-08F7-4DA3-916B-32A6FD402E06"
}

Error codes

HTTP status codeError codeError message
400Sag.PortMgtErrorThe role of a management port cannot be changed.

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