You need to enable JavaScript to run this app.
NAT Gateway

NAT Gateway

Copy page
Download PDF
Session log
DeleteSessionLog - Deleting a NAT session log
Copy page
Download PDF
DeleteSessionLog - Deleting a NAT session log
Call the DeleteSessionLog API to delete a session log for a NAT instance.​
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. For more information, see Common parameters.​
Action string required Example: DeleteSessionLog​
The action that you want to perform. Value: DeleteSessionLog.​
​
Version string required Example: 2020-04-01​
The API version. Value: 2020-04-01.​
​
SessionLogId string requiredExample: nsl-273w1s2v5xnuo7fap8t8****​
The ID of the session log.​
You can call the DescribeSessionLogs API to query the session log ID.​
​
​
​
Response parameters​
The following only details response parameters specific to this API. For more information, see Response structure.​
RequestId string Example: 2021062415303301022514515207C4****​
Request ID.​
​
​
​
Request examples​
​
GET /?Action=DeleteSessionLog&Version=2020-04-01&SessionLogId=nsl-**** HTTP/1.1​
Host: natgateway.cn-beijing.volcengineapi.com​
ServiceName: natgateway​
Region: cn-beijing​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2025042919553619900117417648F308",​
"Action": "DeleteSessionLog",​
"Version": "2020-04-01",​
"Service": "natgateway",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
Error codes​
The table below describes the error codes for this API that are associated with business logic. For details, see Common error codes.​
​
Status code​
Error codes​
Error message​
Description​
400​
MissingParameter​
The request is missing a required parameter.​
This request does not contain required parameters.​
400​
InvalidSessionLog.InvalidStatus​
The specified session log instance is not in the correct status for the request.​
The specified NAT session log instance cannot respond to this request due to its status.​
400​
InvalidNatGateway.InvalidStatus​
The specified NAT gateway is not in the correct status for the request.​
The specified NAT gateway cannot respond to this request due to its status.​
404​
InvalidSessionLog.NotFound​
The specified session log instance does not exist.​
The current NAT session log instance does not exist.​
404​
InvalidNatGateway.NotFound​
The specified NAT gateway does not exist.​
The specified NAT gateway does not exist.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred.​
​
Last updated: 2026.03.16 18:50:41