Skip to main content
PUT
/
edges
/
tls
/
{id}
/
mutual_tls
Replace
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Path Parameters

id
string
required

Body

application/json
id
string

n/a

module
object

n/a

Response

200 - application/json

n/a

enabled
boolean

true if the module will be applied to traffic, false to disable. default true if unspecified

certificate_authorities
object[]

PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.