cURL
curl --request GET \ --url https://api.ngrok.com/ip_policy_rules \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "ip_policy_rules": [ { "id": "<string>", "uri": "<string>", "created_at": "<string>", "description": "<string>", "metadata": "<string>", "cidr": "<string>", "ip_policy": { "id": "<string>", "uri": "<string>" }, "action": "<string>" } ], "uri": "<string>", "next_page_uri": "<string>" }
List all IP policy rules 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>
List all IP policy rules on this account
the list of all IP policy rules on this account
Show child attributes
URI of the IP policy rule list API resource
URI of the next page, or null if there is no next page
Was this page helpful?