domains

Update managed domain

Changed on

Update the managed run.tools slug for a server.

patch/servers/{qualifiedName}/domains/{domainId}

Request

  • Base URL
    https://api.smithery.ai
  • URL
    https://api.smithery.ai/servers/{qualifiedName}/domains/{domainId}
  • Auth
    HTTP bearer

Path parameters

qualifiedNamestring required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

domainIdstring required

Request body

subdomainstring required

Response

Managed domain updated

id'managed' required
type'managed' required
hostnamestring required
subdomainstring required
createdAtstring required
updatedAtstring required

Example response

{
  "id": "managed",
  "type": "managed",
  "hostname": "my-server.run.tools",
  "subdomain": "my-server",
  "createdAt": "2024-01-01T00:00:00.000Z",
  "updatedAt": "2024-01-01T00:00:00.000Z"
}

Changes

    • breaking

      the request property became required

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      removed the non-success response with the status

    • info

      the response property const value managed was added for the status

    • info

      the response property const value managed was added for the status

    • info

      removed the custom enum value from the response property for the response status

    • info

      removed the managed enum value from the response property for the response status

    • info

      response property subdomain list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      endpoint added