Block a resource's time (time off, maintenance)
post/bookings/blocks
Block a resource's time (time off, maintenance). Refused, listing the bookings in the way, when the time is booked.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:write- Mcp
rivier_booking_resource_block- Graphql
Mutation.blockBookingResource- Sdk
bookings.block.create- Cli
bookings block create- Events
bookings.block.created
Request bodyapplication/json, required
- resourceIdstring (uuid)required
- kindstringOne of: time_off, maintenance. Default: time_off.
- fromstring (date-time)required
- tostring (date-time)required
- reasonstringDefault: . At most 300 characters.
Responses
- 201application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring