cURL
curl --request PUT \ --url https://api.ngrok.com/edges/https/{edge_id}/routes/{id}/user_agent_filter \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'ngrok-version: <ngrok-version>' \ --data '{ "edge_id": "<string>", "id": "<string>", "module": { "enabled": true, "allow": [ "<string>" ], "deny": [ "<string>" ] } }'
{ "enabled": true, "allow": [ "<string>" ], "deny": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
n/a
Show child attributes
Was this page helpful?