cURL
curl --request GET \ --url https://api.ngrok.com/edges/tls/{id}/traffic_policy \ --header 'Authorization: Bearer <token>' \ --header 'ngrok-version: <ngrok-version>'
{ "enabled": true, "value": "<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
the traffic policy that should be applied to the traffic on your endpoint.
Was this page helpful?