cURL
curl --request GET \ --url https://api.ngrok.com/edges/tls/{id}/ip_restriction \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "enabled": true, "ip_policies": [ { "id": "<string>", "uri": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
a resource identifier
n/a
true if the module will be applied to traffic, false to disable. default true if unspecified
true
false
list of all IP policies that will be used to check if a source IP is allowed access to the endpoint
Show child attributes
a uri for locating a resource
Was this page helpful?