---
title: "Create or Update mTLS Configuration for Target"
method: PUT
path: "/targets/{id}/mtls/"
tags: ["Targets"]
---

# Create or Update mTLS Configuration for Target

`PUT /targets/{id}/mtls/`

Create or replace the mTLS configuration for a target by uploading
a .p12 certificate file and password.

## Path parameters

- `id` string, required

## Response `200`

- MTLSConfigStatus
  - `configured` boolean, required — Indicates if mTLS is configured for the target.
  - `enabled` boolean, required — Indicates if mTLS is currently enabled for the target.

## Other responses

- `400`
- `403`
- `404`

---

[API](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation.md) · [All operations](https://skmtc.net/probely/apis/snyk-api-web-s-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/probely/snyk-api-web-s-api-reference-documentation/versions/e29879bff01b/schema)
