Delete a unit
delete_unitDeletes a unit together with its photos. A unit that has ever had a booking is not deleted: it is hidden from guests instead, so the booking history stays. Acts on one venue, given its address and access key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"access_key": "<access_key>",
"unit_id": "<unit_id>"
},
"name": "delete_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The venue’s address name, the "name" in name.bookare.app. | |
| unit_id | Yes | ||
| access_key | Yes | The venue’s access key. |