Update Tag

Update a property tag. Pass name and / or color to change the tag itself; pass property_ids and / or room_type_ids to replace the tag's full assignment list. Pass an empty array to detach all properties / all room types. Omitted fields are left unchanged.

Path Params
integer
required

Internal tag id (from search_tags).

Body Params
string
length ≤ 15

New display name. Must remain unique within the operator's account.

string
enum

Hex color string from the allowed palette.

Allowed:
property_ids
array of integers

Replaces the tag's property list with the given ids (each must belong to the operator). Empty array detaches all.

property_ids
room_type_ids
array of integers

Replaces the tag's room type list with the given ids (each must belong to the operator). Empty array detaches all.

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