API referenceSections

Change them (the provider only)

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

PUT /api/v1/tenants/{tid}/container-settings

Change them (the provider only)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Request body

required

Content type: application/json

  • registries array<string> required

    Registries images may come from

  • require_digest boolean required

    Only images pinned by digest

  • egress_deny array<string> optional

    IPv4 networks (CIDR, /8 or narrower, at most 64) no container may be forwarded to (R22.4); the default is the link-local, RFC 1918 and CGNAT ranges. Left out of a PUT: kept. CONTAINER_EGRESS_INVALID

Example
{
  "registries": [
    "string"
  ],
  "require_digest": true,
  "egress_deny": [
    "string"
  ]
}

Responses

200 Saved

Content type: application/json

Fields of ContainerSettings are shown above.

Example
{
  "registries": [
    "string"
  ],
  "require_digest": true,
  "egress_deny": [
    "string"
  ]
}

default Error

Content type: application/json

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