Upsert RoomSettings
PUT
/room-settings/{id}
const url = 'https://api.occulights.com/api/v1/room-settings/example';const options = { method: 'PUT', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"autoBookingDurationSeconds":1,"autoBookingSubjectName":"example","autoBookingThresholdSeconds":1,"credentialId":"example","earlyExitThresholdSeconds":1,"ghostMeetingThresholdSeconds":1,"id":"example","meetingRoomMailboxAddress":"example","preBookedDurationSeconds":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.occulights.com/api/v1/room-settings/example \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "autoBookingDurationSeconds": 1, "autoBookingSubjectName": "example", "autoBookingThresholdSeconds": 1, "credentialId": "example", "earlyExitThresholdSeconds": 1, "ghostMeetingThresholdSeconds": 1, "id": "example", "meetingRoomMailboxAddress": "example", "preBookedDurationSeconds": 1 }'Upserts RoomSettings for the specified tenant (default: yours)
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
RoomSettings ID
Query Parameters
Section titled “Query Parameters”tenant
string
Tenant to create room settings under
Request Body
Section titled “Request Body”RoomSettings object
Media typeapplication/json
object
autoBookingDurationSeconds
integer
autoBookingSubjectName
string
autoBookingThresholdSeconds
integer
credentialId
string
earlyExitThresholdSeconds
integer
ghostMeetingThresholdSeconds
integer
id
string
meetingRoomMailboxAddress
string
preBookedDurationSeconds
integer
Example generated
{ "autoBookingDurationSeconds": 1, "autoBookingSubjectName": "example", "autoBookingThresholdSeconds": 1, "credentialId": "example", "earlyExitThresholdSeconds": 1, "ghostMeetingThresholdSeconds": 1, "id": "example", "meetingRoomMailboxAddress": "example", "preBookedDurationSeconds": 1}Responses
Section titled “Responses”Created
Media typeapplication/json
object
autoBookingDurationSeconds
integer
autoBookingSubjectName
string
autoBookingThresholdSeconds
integer
credentialId
string
earlyExitThresholdSeconds
integer
ghostMeetingThresholdSeconds
integer
id
string
meetingRoomMailboxAddress
string
preBookedDurationSeconds
integer
Example generated
{ "autoBookingDurationSeconds": 1, "autoBookingSubjectName": "example", "autoBookingThresholdSeconds": 1, "credentialId": "example", "earlyExitThresholdSeconds": 1, "ghostMeetingThresholdSeconds": 1, "id": "example", "meetingRoomMailboxAddress": "example", "preBookedDurationSeconds": 1}Bad Request
Media typeapplication/json
object
message
string
Example generated
{ "message": "example"}Bad Gateway
Media typeapplication/json