Update inbound
update_inboundUpdate an existing inbound by its numeric ID. Fetch the current inbound configuration first, merge your changes into the full object, then submit it to replace the old settings.
Instructions
Update an existing inbound by ID. This replaces the inbound configuration, so fetch it with get_inbound first and merge your changes into the full object rather than sending a partial one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric inbound ID to update | |
| port | No | Listening port | |
| enable | No | ||
| listen | No | ||
| remark | No | Display name for the inbound | |
| protocol | No | vless | vmess | trojan | shadowsocks | wireguard | socks | http | dokodemo-door | |
| settings | No | Protocol settings object (or JSON string), e.g. { clients: [...], decryption: "none" } | |
| sniffing | No | Sniffing settings object (or JSON string), e.g. { enabled: true, destOverride: ["http","tls"] } | |
| expiryTime | No | ||
| streamSettings | No | Transport settings object (or JSON string), e.g. { network: "tcp", security: "reality", ... } |