cURL
curl --request PUT \ --url https://api.ngrok.com/edges/https/{edge_id}/routes/{id}/backend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'ngrok-version: <ngrok-version>' \ --data '{ "edge_id": "<string>", "id": "<string>", "module": { "enabled": true, "backend_id": "<string>" } }'
{ "enabled": true, "backend": { "id": "<string>", "uri": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
n/a
Show child attributes
true if the module will be applied to traffic, false to disable. default true if unspecified
true
false
backend to be used to back this endpoint
Was this page helpful?