Stops 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.

Action String No DeactiveFlowLog

The name of this action.

Value: DeactiveFlowLog

Response parameters

Parameter Type Example value Description
RequestId String 5F2BAEAF-96D4-4BE5-A031-6CAD7B145D0D

The ID of the request.


Request example

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

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 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 FlowLogId does not exist.
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 SAG instance is associated with another flow log.
400 OperationUnsupported.AssociateFlowLog You cannot bind the SAG device of the current version or model to a FlowLog instance. The version or model of the SAG device does not support 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.

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