Disable Redirection Host
disable_redirection_hostDisable a redirection host by ID to stop it from serving redirects while keeping its configuration. Preview changes with dry_run=True.
Instructions
Disable a redirection host by ID while keeping its configuration in NPM. Use delete_redirection_host to remove it; use list_redirection_hosts to check status. This stops the redirect from being served and applies the configuration change. 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 redirection 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 | |||