---
title: "Update managed domain"
method: PATCH
path: "/servers/{qualifiedName}/domains/{domainId}"
tags: ["domains"]
---

# Update managed domain

`PATCH /servers/{qualifiedName}/domains/{domainId}`

Update the managed run.tools slug for a server.

## Path parameters

- `qualifiedName` string, required
- `domainId` string, required

## Request body

- UpdateDomainRequest
  - `subdomain` string, required

## Response `200`

Managed domain updated

- DomainResource
  - `id` 'managed', required
  - `type` 'managed', required
  - `hostname` string, required
  - `subdomain` string, required
  - `createdAt` string, required
  - `updatedAt` string, required

## Other responses

- `404` — Domain not found
- `409` — Conflict — managed run.tools slug already taken

## Changes

- **2026-03-25** `f13d57edead0` — 6 breaking, 2 warning, 6 info
  - the request property `subdomain` became required
  - removed the required property `allowUnauthenticated` from the response with the `200` status
  - removed the required property `cnameTarget` from the response with the `200` status
  - removed the required property `requiresConfig` from the response with the `200` status
  - …10 more
- **2026-02-15** `e569829356ae` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:qualifiedName/domains/:domainId/patch.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
