更新标签

更新房间标签。通过 name 和/或 color 来更改标签本身;传递 property_ids 和/或 room_type_ids替换标签的完整分配房源。传递一个空数组来分离所有房间/所有房型。省略的字段保持不变。

Path Params
integer
required

内部标签 ID(来自 search_tags)。

Body Params
string
length ≤ 15

新的显示名称。在房东账号的账户中必须保持唯一。

string
enum

允许的调色板中的十六进制颜色字符串。

Allowed:
property_ids
array of integers

将标签的房间列表替换为给定的 ID(每个 ID 必须属于房东账号)。空数组将全部分离。

property_ids
room_type_ids
array of integers

将标签的房型列表替换为给定的 ID(每个 ID 必须属于房东账号)。空数组将全部分离。

room_type_ids
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json