TunnelSessions

Restart

Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.

post/tunnel_sessions/{id}/restart

Request

  • Base URL
    https://api.ngrok.com
  • URL
    https://api.ngrok.com/tunnel_sessions/{id}/restart
  • Auth
    HTTP bearer

Path parameters

idstring required

a resource identifier

Headers

ngrok-versioninteger required

Request body

idstring

a resource identifier

Response

Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.

Changes

No recorded changes to this operation across all 10 revisions of this API.