cURL
curl --request PUT \ --url https://api.ngrok.com/edges/tls/{id}/mutual_tls \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'ngrok-version: <ngrok-version>' \ --data '{ "id": "<string>", "module": { "enabled": true, "certificate_authority_ids": [ "<string>" ] } }'
{ "enabled": true, "certificate_authorities": [ { "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
PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
Was this page helpful?