---
title: "Changes to Modify Hosts"
method: PUT
path: "/api/hosts"
---

# Changes to Modify Hosts

`PUT /api/hosts`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 2 revisions.

- **2026-11-03** `a7dc3fda908f`: 5 breaking, 7 warning, 20 info

## Changes

- **2026-11-03** `a7dc3fda908f`: 5 breaking, 7 warning, 20 info
  - removed `#/components/schemas/TransportSettings-Input` from the `items/transport_settings` request property `anyOf` list
  - the response property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay` became optional for the status `200`
  - the response property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/packet` became optional for the status `200`
  - response property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay` list-of-types was widened by adding types `integer and null` to media type `application/json` of response `200`
  - response property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/packet` list-of-types was widened by adding types `array and null` to media type `application/json` of response `200`
  - changed the pattern of the request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/type` from `^(:?rand|str|base64|hex)$` to `^$|^(:?rand|str|base64|hex)$`
  - removed the request property `items/ech_config_list`
  - removed the request property `items/ech_query_strategy`
  - removed the request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/rand_range`
  - removed the optional property `items/ech_config_list` from the response with the `200` status
  - removed the optional property `items/ech_query_strategy` from the response with the `200` status
  - removed the optional property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/rand_range` from the response with the `200` status
  - added the new optional request property `items/cipher_suites`
  - added the new optional request property `items/ech`
  - added the new optional request property `items/final_mask_settings`
  - added the new optional request property `items/fragment_settings/anyOf[subschema #1: FragmentSettings]/xray/anyOf[subschema #1: XrayFragmentSettings]/maxSplit`
  - added the new optional request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/rand`
  - added `#/components/schemas/TransportSettings` to the `items/transport_settings` request property `anyOf` list
  - the request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay` became optional
  - the request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/packet` became optional
  - request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay` list-of-types was widened by adding types `integer and null` to media type `application/json`
  - request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/packet` list-of-types was widened by adding types `array and null` to media type `application/json`
  - removed the pattern `^\d{1,16}(-\d{1,16})?$` from the request property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay`
  - added the optional property `items/cipher_suites` to the response with the `200` status
  - added the optional property `items/ech` to the response with the `200` status
  - added the optional property `items/final_mask_settings` to the response with the `200` status
  - added the optional property `items/fragment_settings/anyOf[subschema #1: FragmentSettings]/xray/anyOf[subschema #1: XrayFragmentSettings]/maxSplit` to the response with the `200` status
  - added the optional property `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/rand` to the response with the `200` status
  - added `#/components/schemas/TransportSettings` to the `items/transport_settings` response property `anyOf` list for the response status `200`
  - removed `#/components/schemas/TransportSettings-Output` from the `items/transport_settings` response property `anyOf` list for the response status `200`
  - the `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/type` response's property pattern was changed from `^(:?rand|str|base64|hex)$` to `^$|^(:?rand|str|base64|hex)$` for the status `200`
  - the `items/noise_settings/anyOf[subschema #1: NoiseSettings]/xray/anyOf[subschema #1]/items/delay` response's property pattern `^\d{1,16}(-\d{1,16})?$` was removed for the status `200`

---

[Operation](https://skmtc.dev/ha-man2/apis/pasarguardapi/docs/api/hosts/put.md) - [API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) - [Page](https://skmtc.dev/ha-man2/apis/pasarguardapi/changes/api/hosts/put)
