Update Stream
update_streamModify forwarding settings for an existing Nginx Proxy Manager stream by ID, changing incoming port, destination host/port, or TCP/UDP protocol. Preview changes with dry_run before applying.
Instructions
Update writable port, destination, or protocol fields on an existing stream by ID. Use this to edit forwarding; use enable_stream or disable_stream to change status only. NPM receives the merged writable fields, preserving omitted values. Returns the updated stream object with its forwarding settings. Set dry_run=True to preview the exact request without changing NPM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the stream, from the matching list tool. | |
| dry_run | No | When True, return the exact request preview without changing NPM. | |
| incoming_port | No | Public TCP/UDP port number accepted by this stream. For updates, omit to keep the current value. | |
| tcp_forwarding | No | Whether this stream forwards TCP traffic. For updates, omit to keep the current value. | |
| udp_forwarding | No | Whether this stream forwards UDP traffic. For updates, omit to keep the current value. | |
| forwarding_host | No | Hostname or IP address receiving stream traffic. For updates, omit to keep the current value. | |
| forwarding_port | No | Destination TCP/UDP port number. For updates, omit to keep the current value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||