Disable Proxy Host
disable_proxy_hostStop a proxy host from serving traffic by ID while keeping its configuration. Use dry_run=True to preview the change before altering Nginx Proxy Manager.
Instructions
Disable a proxy host by ID while retaining its configuration. Use delete_proxy_host to remove it; use list_proxy_hosts to check its current status. This changes NPM host state and stops that host from serving traffic. Returns the updated host object. 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||