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.