Skip to main content
tunnelStop a running tunnel
TestMu AI
StatusCommunityBlog
tunnel

Stop a running tunnel

To stop a running tunnel in your account. e.g 2345

DEL
/tunnels/{tunnel_id}
Stop a running tunnel
curl --request DELETE \
--url "https://api.lambdatest.com/automation/api/v1/tunnels/{tunnel_id}" \
--header "Authorization: Basic <encoded-value>"
{
"message": "Delete tunnel was successful.",
"status": "success"
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

tunnel_idintegerrequired

Your tunnel id.

Response

application/json

Successful operation

messagestring
statusstring
Stop a running tunnel
curl --request DELETE \
--url "https://api.lambdatest.com/automation/api/v1/tunnels/{tunnel_id}" \
--header "Authorization: Basic <encoded-value>"
{
"message": "Delete tunnel was successful.",
"status": "success"
}