Skip to main content

Deactivate tunnel

POST
/tunnels/{id}/deactivate

Contract

Parameter
Value
Sectiontunnels
AuthenticationCookieAuth
Consumesnot required
Producesapplication/json

Parameters

1 parameter

Name
Location
Required
Type
Description
idpathyesintegerTunnel ID

Responses

5 responses

Status
Description
Type
200
Deactivation result: {status}object
400
Invalid tunnel IDobject
401
Unauthorizedobject
404
Tunnel not foundobject
500
Failed to update recordobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }