Upsert RoomSettings
POST
/room-settings/
const url = 'https://api.occulights.com/api/v1/room-settings/';const options = { method: 'POST', 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 POST \ --url https://api.occulights.com/api/v1/room-settings/ \ --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”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