Set port mappings
Changed onBulk-replace all port mappings for this CVM. Admins with two-factor authentication enabled may specify host_port within the node's managed range; other callers cannot pin ports. Omitted or null host_port keeps an existing allocation or randomly allocates a new one. User-NIC port changes require restart confirmation; bridge-NIC rules apply live.
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Updated port mappings
Example response
[
{
"id": "pm_0123abcd"
}
]Changes
- info
added the new optional request property
- info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info