hosts_bulk_update
Bulk update selected hosts by changing their port, TLS, security, and other connection settings in a single operation.
Instructions
Bulk update fields on selected hosts (replaces the removed set-inbound / set-port endpoints)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sni | No | New SNI | |
| alpn | No | New ALPN | |
| host | No | New host header | |
| path | No | New URL path | |
| port | No | New port for all selected hosts | |
| tags | No | Array of tags (uppercase letters, numbers, underscores and colons only; max 36 chars each, up to 10 tags) | |
| uuids | Yes | Array of host UUIDs to update | |
| mapper | No | Outbound field operations per client format. Each op is {op:"copy",from,to} | {op:"set",value,to} | {op:"unset",to} | |
| isDisabled | No | Enable/disable selected hosts | |
| fingerprint | No | New TLS fingerprint (free-form) | |
| securityLayer | No | New security layer | |
| internalSquads | No | Which internal squads may see this host (replaces excludedInternalSquads) | |
| mihomoIpVersion | No | IP version used by Mihomo clients | |
| configProfileUuid | No | Config profile UUID (set together with configProfileInboundUuid to change inbound) | |
| configProfileInboundUuid | No | Inbound UUID (set together with configProfileUuid to change inbound) | |
| excludeFromSubscriptionTypes | No | Subscription types to exclude these hosts from |