Turn the Web Management Service on or off and scope port 8172 in the firewall
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/servers/{id}/webdeployTurn the Web Management Service on or off and scope port 8172 in the firewall
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
- no other properties
enabledboolean requiredallow_fromarray<string> requiredIP addresses or prefixes; empty is any
- max items 50
Example
{
"enabled": true,
"allow_from": [
"string"
]
}Responses
200 Applied
Content type: application/json
A server's Web Management Service for Web Deploy (ADR 0089)
server_idstring requiredenabledboolean requiredallow_fromarray<string> requiredSources allowed to reach the port; empty is any
updated_atstring (date-time) requiredinstalledboolean requiredportinteger required
Example
{
"server_id": "string",
"enabled": true,
"allow_from": [
"string"
],
"updated_at": "2026-01-01T00:00:00Z",
"installed": true,
"port": 0
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required