---
title: "Changes to Set port mappings"
method: PUT
path: "/api/v1/cvms/{cvm_id}/ports"
---

# Changes to Set port mappings

`PUT /api/v1/cvms/{cvm_id}/ports`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 3 revisions.

- **2026-11-07** `c71a8dc90391`: 12 info

## Changes

- **2026-11-07** `c71a8dc90391`: 12 info
  - added the new optional request property `confirm_restart`
  - added the new optional request property `ports/items/description`
  - added the new optional request property `ports/items/host_port`
  - added the new optional request property `ports/items/nic_index`
  - added the new optional request property `ports/items/source_cidrs`
  - added the optional property `items/description` to the response with the `200` status
  - added the optional property `items/forwarding_backend` to the response with the `200` status
  - added the optional property `items/guest_ip` to the response with the `200` status
  - added the optional property `items/nic_index` to the response with the `200` status
  - added the optional property `items/public_host` to the response with the `200` status
  - added the optional property `items/restart_required` to the response with the `200` status
  - added the optional property `items/source_cidrs` to the response with the `200` status

---

[Operation](https://skmtc.dev/phala/apis/phala-cloud-api/docs/api/v1/cvms/:cvm_id/ports/put.md) - [API](https://skmtc.dev/phala/apis/phala-cloud-api.md) - [Page](https://skmtc.dev/phala/apis/phala-cloud-api/changes/api/v1/cvms/:cvm_id/ports/put)
