port-update
Updates the published port, target port, and protocol for an existing port configuration on a Dokploy server.
Instructions
POST /port.update
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"portId": "<portId>",
"publishedPort": "<publishedPort>",
"targetPort": "<targetPort>"
},
"name": "port-update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portId | Yes | ||
| publishedPort | Yes | ||
| publishMode | No | ingress | |
| targetPort | Yes | ||
| protocol | No | tcp |