Update Proxy Host
update_proxy_hostUpdate writable settings on an existing proxy host by ID to change routing or options. Preview changes with dry_run=True without affecting NPM.
Instructions
Update writable settings on an existing proxy host by ID. Use this to change routing or options; use enable_proxy_host or disable_proxy_host for status only. NPM receives the merged writable host fields, without requesting a certificate. Returns the updated host object with its ID and current settings. Set dry_run=True to preview the exact request without changing NPM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the proxy host, from the matching list tool. | |
| dry_run | No | When True, return the exact request preview without changing NPM. | |
| ssl_forced | No | Whether NPM redirects HTTP requests to HTTPS. For updates, omit to keep the current value. | |
| domain_names | No | Domain names routed by this host or certificate. For updates, omit to keep the current value. | |
| forward_host | No | Upstream hostname or IP address. For updates, omit to keep the current value. | |
| forward_port | No | Upstream TCP port number. For updates, omit to keep the current value. | |
| access_list_id | No | NPM access-list ID to attach. Omit to keep the current value. | |
| block_exploits | No | Whether NPM enables its exploit-blocking option. For updates, omit to keep the current value. | |
| certificate_id | No | NPM certificate ID to attach. Omit to keep the current value. | |
| forward_scheme | No | Upstream scheme: http or https. For updates, omit to keep the current value. | |
| caching_enabled | No | Whether NPM enables proxy caching. For updates, omit to keep the current value. | |
| allow_websocket_upgrade | No | Whether NPM allows WebSocket upgrades. For updates, omit to keep the current value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||