Edit a person or room for bookings
update_booking_resourceChange a person or room (resourceId from get_booking_settings); only what you pass changes. hours and timeOff are replaced as a whole: read the current ones in get_booking_settings first. active false stops it being booked without deleting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Up to 80 characters, e.g. "Ana" or "Room 2". | |
| hours | No | Weekly hours: {"mon": [["09:00","14:00"],["16:00","20:00"]], "tue": [...], ...}. Days mon…sun; a missing day is closed. | |
| spots | No | Customers at the same time, 1-500. Default 1. For a restaurant table type: how many tables of that type. | |
| active | No | false stops it from being booked without deleting it. | |
| timeOff | No | Whole days off, both inclusive. Replaces the current list. | |
| partyMax | No | Restaurant table type only: most people it seats. null = no limit. | |
| partyMin | No | Restaurant table type only: fewest people it seats. Default 1. | |
| resourceId | Yes | The person or room, from get_booking_settings. | |
| workspaceId | No | Defaults to the workspace this connection is scoped to. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |