---
title: "Update an mDNS record"
method: PUT
path: "/mdns/records/{id}"
tags: ["mDNS"]
---

# Update an mDNS record

`PUT /mdns/records/{id}`

Update a user-defined mDNS record

## Path parameters

- `id` integer, required

## Request body

- InternalHandlersMdnsMdnsRecordRequest
  - `interfaces` string
  - `name` string
  - `port` integer
  - `txt` object
  - `type` string

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseAny
  - `data` unknown
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/7a7bea85004e/schema)
