API referenceSections

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}/webdeploy

Turn 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

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired
X-CSRF-Tokenheaderstringoptional

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
  • enabled boolean required
  • allow_from array<string> required

    IP 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_id string required
  • enabled boolean required
  • allow_from array<string> required

    Sources allowed to reach the port; empty is any

  • updated_at string (date-time) required
  • installed boolean required
  • port integer 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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required