This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deprecation Notice:
This endpoint will be removed on December 31, 2024.
Lock a session to prevent bookings.
When invoking Lock with a sessionId
, the session can no longer be booked or checked out unless the returned key is passed in the request.
Lock returns a key that can also be used with Unlock to re-enable booking and checkout for the given session.
Once a session is locked:
available
property is false
.Permissions This endpoint requires the Manage Bookings permission scope.