Tunnels

Revoke a tunnel's live grant

Revokes the grant at the control plane and edge: the public URL stops working immediately and any live tunnel session is disconnected. The server record — including its now-dead url — is intentionally left untouched, so the next create revives the tunnel with the same slug.

post/projects/{projectId}/tunnels/{serverId}/close

Path parameters

projectIdstring required

ID of the hosted project that contains the server.

serverIdstring required

ID of the server inside the project.

Response

Grant revoked; the server record is unchanged.

serverIdstring required
status'closed' required

Changes

Changed in 2 of the 71 revisions of this API.61

    • added the new CONFLICT enum value to the code response property for the response status 401

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 403

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 404

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 429

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 500

      response-property-enum-value-added

    • added the new CONFLICT enum value to the code response property for the response status 502

      response-property-enum-value-added

    • endpoint added

      endpoint-added