Deletes a flow log.

Usage notes

  • The DeleteFlowLog operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the DescribeFlowLogs operation to query the status of a flow log:
    • If the flow log is in the Deleting state, the flow log is being deleted.
    • If you cannot query the flow log, the flow log is deleted.
  • You cannot repeatedly call the DeleteFlowLog operation to delete a flow log within the specified period of time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteFlowLog

The operation that you want to perform. Set the value to DeleteFlowLog.

RegionId String Yes cn-qingdao

The region ID of the flow log. You can call the DescribeRegions operation to query the most recent region list.

FlowLogId String Yes fl-m5e8vhz2t21sel1nq****

The ID of the flow log.

Response parameters

Parameter Type Example Description
Success String true

Indicates whether the operation is successful. Valid values:

  • true: yes
  • false: no
RequestId String F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteFlowLog
&ResourceOwnerId=253460731706911258
&RegionId=cn-qingdao
&FlowLogId=fl-m5e8vhz2t21sel1nq****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteFlowLogResponse>
    <Success>true</Success>
    <RequestId>F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1</RequestId>
</DeleteFlowLogResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Success" : "true",
  "RequestId" : "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}

Error codes

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