Update Docker Host
updateDockerHostUpdate a Docker daemon connection in Uptime Kuma, changing only the fields you pass (name, type, or daemon URL) and preserving the rest. First, use listDockerHosts to find the host ID.
Instructions
Updates an existing docker daemon connection. Use listDockerHosts to find the docker host ID. Only the fields you pass are changed — the others are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New human-readable name | |
| dockerType | No | New connection type | |
| dockerDaemon | No | New socket path or TCP URL | |
| dockerHostID | Yes | The ID of the docker host to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| msg | No |