The server's public address and nameserver names
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}/networkThe server's public address and nameserver names
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
public_ipstring optionaldns_namesarray<string> optional
Example
{
"public_ip": "string",
"dns_names": [
"string"
]
}Responses
200 Saved
Content type: application/json
maintenancestring optionalidstring requiredtenant_idstring requirednamestring requiredhostnamestring requiredcreated_atstring (date-time) requiredagent_last_seen_atstring (date-time) | null requiredagent_revoked_atstring (date-time) | null requiredblocked_ipsarray<string> requiredRefused by the server's firewall (ADR 0024)
public_ipstring requiredWhere the Internet reaches the server (ADR 0033)
dns_namesarray<string> requiredNameserver names the server's DNS answers as
Example
{
"maintenance": "string",
"id": "string",
"tenant_id": "string",
"name": "string",
"hostname": "string",
"created_at": "2026-01-01T00:00:00Z",
"agent_last_seen_at": "2026-01-01T00:00:00Z",
"agent_revoked_at": "2026-01-01T00:00:00Z",
"blocked_ips": [
"string"
],
"public_ip": "string",
"dns_names": [
"string"
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required