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-settingsChange them (the provider only)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | 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
registriesarray<string> requiredRegistries images may come from
require_digestboolean requiredOnly images pinned by digest
egress_denyarray<string> optionalIPv4 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required