---
title: "Replace"
method: PUT
path: "/edges/https/{id}/mutual_tls"
tags: ["HTTPSEdgeMutualTLSModule"]
---

# Replace

`PUT /edges/https/{id}/mutual_tls`

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Request body

- EdgeMutualTLSReplace
  - `id` string — n/a
  - `module` EndpointMutualTLSMutate
    - `enabled` boolean — `true` if the module will be applied to traffic, `false` to disable. default `true` if unspecified
    - `certificate_authority_ids` string[] — list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connection

## Response `200`

n/a

- EndpointMutualTLS
  - `enabled` boolean — `true` if the module will be applied to traffic, `false` to disable. default `true` if unspecified
  - `certificate_authorities` Ref[] — PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
    - `id` string — a resource identifier
    - `uri` string — a uri for locating a resource

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
