Deletes a flow log.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
FlowLogId | String | Yes | fl-7a56mar1kfw9vj**** |
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 | DeleteFlowLog |
The name of this action. Value: DeleteFlowLog |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | B05AF87C-0FE5-42D7-BEA3-665D90FAA71D |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? Action=DeleteFlowLog
&FlowLogId=fl-7a56mar1kfw9vj****
&RegionId=cn-shanghai
&<CommonParameters>
Response example
XML
format
<DeleteFlowLogResponse>
<RequestId>B05AF87C-0FE5-42D7-BEA3-665D90FAA71D</RequestId>
</DeleteFlowLogResponse>
JSON
format
{
"RequestId":"B05AF87C-0FE5-42D7-BEA3-665D90FAA71D"
}
Errors
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 status of instance does not support this operation. | The status of the specified 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. |
400 | MissingParam.LogstoreName | Specify the LogstoreName parameter. | You must specify the LogstoreName. |
400 | MissingParam.NetflowServerIp | Specify the NetflowServerIp parameter. | You must specify the NetflowServerIp. |
400 | MissingParam.NetflowServerPort | Specify the NetflowServerPort parameter. | You must specify the NetflowServerPort. |
400 | MissingParam.NetflowVersion | Specify the NetflowVersion parameter. | You must specify the NetflowVersion. |
400 | MissingParam.ProjectName | Specify the ProjectName parameter. | You must specify the ProjectName. |
400 | MissingParam.SlsRegionId | Specify the SlsRegionId parameter. | You must specify the SlsRegionId. |
400 | IllegalParam.ActiveAging | The specified ActiveAging is invalid. | The specified ActiveAging is invalid. |
400 | IllegalParam.InactiveAging | The specified InactiveAging is invalid. | The specified InactiveAging is invalid. |
400 | IllegalParam.NetflowServerIp | The specified NetflowServerIp is invalid. | The specified NetflowServerIp is invalid. |
400 | IllegalParam.NetflowServerPort | The specified NetflowServerPort is invalid. | The specified NetflowServerPort is invalid. |
400 | IllegalParam.NetflowVersion | The specified NetflowVersion is invalid. | The specified NetflowVersion is invalid. |
400 | IllegalParam.OutputType | The specified OutputType is invalid. | The specified OutputType is invalid. |
400 | IllegalParam.RegionId | The specified RegionId is invalid. | The specified RegionId is invalid. |
400 | IllegalParam.SlsRegionId | The specified SlsRegionId is invalid. | The specified SlsRegionId is invalid. |
400 | IllegalParam.Status | The specified Status parameter is invalid. | The specified Status is invalid. |
For a list of error codes, visit the API Error Center.