host_update
Update fields on an existing SSH host using its uid from host_list; omit fields to keep current values or clear credentials when changing auth method.
Instructions
Update fields on an existing host. Call host_list first — it returns the uid of every host, and that value is what host_id expects. Omit a credential field to keep the current value. Supply an empty string to clear it (only valid if you also flip the auth method).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | Identifier of an existing host: the exact `uid` value returned by `host_list`. Call `host_list` first and pass that value unchanged. | |
| ssh_port | No | New SSH port (1-65535). Omit to keep the current value. | |
| is_enable | No | Enable or disable the host. Omit to keep the current value. | |
| ip_address | No | New IP address or hostname. Omit to keep the current value. | |
| system_name | No | New human-readable name. Omit to keep the current value. | |
| ssh_password | No | New plaintext password. Omit to keep current value. | |
| ssh_username | No | New SSH username. Omit to keep the current value. | |
| ssh_auth_method | No | New auth method ('password' or 'pubkey'). Omit to keep the current value. | |
| ssh_private_key | No | New plaintext private key. Omit to keep current value. | |
| ssh_private_key_passphrase | No | New passphrase for the private key. Omit to keep current value. |