cURL
curl --request GET \ --url https://api.ngrok.com/edges/tcp \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "tcp_edges": [ { "id": "<string>", "description": "<string>", "metadata": "<string>", "created_at": "<string>", "uri": "<string>", "hostports": [ "<string>" ], "backend": { "enabled": true, "backend": { "id": "<string>", "uri": "<string>" } }, "ip_restriction": { "enabled": true, "ip_policies": [ { "id": "<string>", "uri": "<string>" } ] }, "traffic_policy": { "enabled": true, "value": "<string>" } } ], "uri": "<string>", "next_page_uri": "<string>" }
List all TCP edge configurations in your ngrok account with optional filtering and pagination.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns a list of all TCP Edges on this account
the list of all TCP Edges on this account
Show child attributes
URI of the TCP Edge list API resource
URI of the next page, or null if there is no next page
Was this page helpful?