Disassociates a Smart Access Gateway (SAG) instance from a flow log.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
FlowLogId String Yes fl-l934tsa5504yuc****

The instance ID of the flow log.

RegionId String Yes cn-shanghai

The ID of the region to which the flow log belongs.

SmartAGId String Yes sag-0v3pmd7qpnvx5f****

The ID of the SAG instance.

Action String No DisassociateFlowLog

The name of this action.

Value: DisassociateFlowLog

Response parameters

Parameter Type Example value Description
RequestId String DD864F79-FDAC-4909-AFAF-84D1DCAF30A3

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=DisassociateFlowLog

Response example

XML format


JSON format



HTTP status code Error code Error message Description
400 DependencyViolation.FlowLog This FlowLog instance is bound to an SAG instance. The specified flow log has dependencies.
400 IncorrectStatus.FlowLog The current FlowLog instance status does not support this operation. The status of the flow log does not permit this operation.
400 InvalidFlowLogId.NotFound The specified FlowLogId does not exist. The specified instance ID of the flow log is invalid.
400 MissingParam.FlowLogId Specify the FlowLogId parameter. You must specify the FlowLogId.
400 OperationFailed.AssociateFlowLog The operation failed. The specified SAG instance has already been associated with another FlowLog instance. The operation failed because the specified SAG instance is already associated with other flow logs.
400 OperationUnsupported.AssociateFlowLog You cannot bind the SAG device of the current version or model to a FlowLog instance. The version or specification of the SAG device does not permit the associating of flow logs.
400 QuotaExceeded.Flowlog The maximum number of FlowLog instances is exceeded. The number of flow logs has reached the quota.
400 InvalidSmartAGId.NotFound The specified SmartAGId does not exist. The specified SAG instance ID is invalid.
400 IllegalParam.ActiveAging The specified ActiveAging is invalid. The specified value of the ActiveAging parameter is invalid.
400 IllegalParam.InactiveAging The specified InactiveAging is invalid. The specified value of the InactiveAging parameter is invalid.
400 IllegalParam.NetflowServerIp The specified NetflowServerIp is invalid. The specified value of the NetflowServerIp parameter is invalid.
400 IllegalParam.NetflowServerPort The specified NetflowServerPort is invalid. The specified value of the NetflowServerPort parameter is invalid.
400 IllegalParam.NetflowVersion The specified NetflowVersion is invalid. The specified value of the NetflowVersion parameter is invalid.
400 IllegalParam.OutputType The specified OutputType is invalid. The specified value of the OutputType parameter is invalid.
400 IllegalParam.RegionId The specified RegionId is invalid. The specified value of the RegionId parameter is invalid.
400 IllegalParam.SlsRegionId The specified SlsRegionId is invalid. The specified value of the SlsRegionId parameter is invalid.
400 IllegalParam.Status The specified Status parameter is invalid. The specified value of the Status parameter is invalid.

For a list of error codes, visit the API Error Center.