cURL
curl --request GET \ --url https://api.ngrok.com/ip_restrictions \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "ip_restrictions": [ { "id": "<string>", "uri": "<string>", "created_at": "<string>", "description": "<string>", "metadata": "<string>", "enforced": true, "type": "<string>", "ip_policies": [ { "id": "<string>", "uri": "<string>" } ] } ], "uri": "<string>", "next_page_uri": "<string>" }
List all IP restrictions on this account
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
the list of all IP restrictions on this account
Show child attributes
URI of the IP restrictions list API resource
URI of the next page, or null if there is no next page
Was this page helpful?