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

# Create or Update MLE Configuration for Target

`PUT /targets/{id}/mle/`

Create or replace the MLE configuration for a target by uploading
public key and client's private key as PEM files.

## Path parameters

- `id` string, required

## Response `200`

- MLEConfigStatus
  - `configured` boolean, required — Indicates if MLE is configured for the target.
  - `enabled` boolean, required — Indicates if MLE is currently enabled for the target.
  - `key_id` string, nullable, required — The Key ID for MLE configuration.
  - `scope` string[], nullable, required — List of URLs where MLE is applied.

## 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)
