---
title: "update web service"
method: PUT
path: "/open/site"
tags: ["site"]
---

# update web service

`PUT /open/site`

## Request body

- SiteWebsiteReq
  - `cert_id` integer
  - `comment` string
  - `email` string
  - `group_id` integer
  - `health_check` boolean
  - `id` integer
  - `index` string
  - `load_balance` ModelLoadBalanceConfig
    - `balance_type` integer
  - `ports` string[]
  - `redirect_status_code` integer
  - `server_names` string[]
  - `stat_enabled` boolean
  - `static_default` integer
  - `type` integer
  - `upstreams` string[]

## Response `200`

OK

- ResponseJSONBody
  - `data` unknown
  - `err` string
  - `msg` string

## Changes

- **2026-04-03** `2d20e20d0f6e` — 2 info
  - api tag `site` added
  - api tag `web_services` removed
- **2026-04-01** `de6007edcff9` — 2 info
  - api tag `web_services` added
  - api tag `site` removed

[Change history](https://skmtc.dev/chaitin/apis/mgt-api/changes/open/site/put.md)

---

[API](https://skmtc.dev/chaitin/apis/mgt-api.md) · [All operations](https://skmtc.dev/chaitin/apis/mgt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/mgt-api/revisions/8ff8cf839cf1/schema)
