You need to enable JavaScript to run this app.
Virtual Private Cloud

Virtual Private Cloud

Copy page
Download PDF
Flow log
DeactiveFlowLog - Disabling a VPC flow log
Copy page
Download PDF
DeactiveFlowLog - Disabling a VPC flow log
Call the DeactiveFlowLog API to disable flow logs.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
The following only details request parameters specific to this API and key common parameters. More information is available in Common parameters.​
Action String required Example value: DeactiveFlowLog​
The interface name. The current API name is DeactiveFlowLog.​
​
Version String requiredExample value: 2020-04-01​
The interface version. The current API version is 2020-04-01.​
​
FlowLogId String required Example value: fl-123456****​
ID of the flow log.​
You can call the DescribeFlowLogs API to query the flow log ID.​
​
ClientToken String optional Example value: 123e4567-e89b-12d3-a456-42665544****​
Client Token that is used to ensure the request idempotency.​
  • You can use the client to automatically generate a token, but must confirm that the tokens for different requests are unique. This prevents repeated actions due to multiple client retries when the call of the API action times out or an internal server error occurs.​
  • Must not exceed 64 ASCII characters.​
  • If you do not provide ClientToken, this API call does not verify idempotency.​
​
​
Response parameters​
The following only details response parameters specific to this API. For more information, see Response structure.​
RequestId String optional Example value: 2021062415303301022514515207C4****​
Request ID.​
​
​
Request examples​
​
GET /?Action=DeactiveFlowLog&Version=2020-04-01&FlowLogId=fl-123456**** HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/vpc/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "DeactiveFlowLog",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
Error codes​
​
Status code​
Error codes​
Error message​
Explain​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
This request is set to DryRun. The action is authorized but not executed.​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
The parameters of this idempotent request are inconsistent with those used in the previous request.​
400​
InvalidFlowLog.InvalidStatus​
The specified flow log is not in the correct status for the request.​
The specified flow log is in a state that cannot process this request.​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
The format of specified CientToken is invalid. It must not exceed 64 ASCII characters.​
404​
InvalidFlowLog.NotFound​
The specified flow log does not exist.​
The specified flow log does not exist.​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
The idempotent request is in progress.​
​
Last updated: 2026.04.02 18:08:29