Перейти к содержимому

Modify Hosts

PUT
/api/hosts

Authorizations

Request Body required

object
key
additional properties
Array<object>
object
remark
required
string
address
required
string
port
integer
nullable
sni
string
nullable
host
string
nullable
path
string
nullable
security
string
Allowed values: inbound_default none tls
alpn
Allowed values: "" h2 http/1.1 h2,http/1.1
fingerprint
Allowed values: "" chrome firefox safari ios android edge 360 qq random randomized
allowinsecure
boolean
is_disabled
boolean
mux_enable
boolean
fragment_setting
string
nullable

Responses

200

Successful Response

object
key
additional properties
Array<object>
object
remark
required
string
address
required
string
port
integer
nullable
sni
string
nullable
host
string
nullable
path
string
nullable
security
string
Allowed values: inbound_default none tls
alpn
Allowed values: "" h2 http/1.1 h2,http/1.1
fingerprint
Allowed values: "" chrome firefox safari ios android edge 360 qq random randomized
allowinsecure
boolean
is_disabled
boolean
mux_enable
boolean
fragment_setting
string
nullable

403

You’re not allowed

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string