PowerBuilder / Zoom API / Update locked settings
Back to Collection Items
integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_Req
oleobject loo_JsonFormData1
oleobject loo_JsonFormData2
oleobject loo_JsonFormData3
oleobject loo_JsonFormData4
oleobject loo_JsonFormData5
oleobject loo_JsonFormData6
oleobject loo_JsonFormData7
oleobject loo_JsonFormData8
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_Req = create oleobject
// Use "Chilkat_9_5_0.HttpRequest" for versions of Chilkat < 10.0.0
li_rc = loo_Req.ConnectToNewObject("Chilkat.HttpRequest")
loo_Req.HttpVerb = "PATCH"
loo_Req.Path = "/v2/accounts/:accountId/lock_settings"
loo_Req.ContentType = "multipart/form-data"
loo_JsonFormData1 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData1.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData1.UpdateBool("host_video",1)
loo_JsonFormData1.UpdateBool("participant_video",0)
loo_JsonFormData1.UpdateBool("audio_type",0)
loo_JsonFormData1.UpdateBool("join_before_host",1)
loo_JsonFormData1.UpdateBool("enforce_login",1)
loo_JsonFormData1.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData1.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData1.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData1.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData1.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData1.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData1.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData1.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData1.UpdateBool("meeting_authentication",1)
loo_JsonFormData1.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData1.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("schedule_meeting","",loo_JsonFormData1,"utf-8","application/json")
loo_JsonFormData2 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData2.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData2.UpdateBool("host_video",1)
loo_JsonFormData2.UpdateBool("participant_video",0)
loo_JsonFormData2.UpdateBool("audio_type",0)
loo_JsonFormData2.UpdateBool("join_before_host",1)
loo_JsonFormData2.UpdateBool("enforce_login",1)
loo_JsonFormData2.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData2.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData2.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData2.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData2.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData2.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData2.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData2.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData2.UpdateBool("meeting_authentication",1)
loo_JsonFormData2.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData2.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("in_meeting","",loo_JsonFormData2,"utf-8","application/json")
loo_JsonFormData3 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData3.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData3.UpdateBool("host_video",1)
loo_JsonFormData3.UpdateBool("participant_video",0)
loo_JsonFormData3.UpdateBool("audio_type",0)
loo_JsonFormData3.UpdateBool("join_before_host",1)
loo_JsonFormData3.UpdateBool("enforce_login",1)
loo_JsonFormData3.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData3.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData3.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData3.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData3.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData3.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData3.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData3.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData3.UpdateBool("meeting_authentication",1)
loo_JsonFormData3.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData3.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("email_notification","",loo_JsonFormData3,"utf-8","application/json")
loo_JsonFormData4 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData4.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData4.UpdateBool("host_video",1)
loo_JsonFormData4.UpdateBool("participant_video",0)
loo_JsonFormData4.UpdateBool("audio_type",0)
loo_JsonFormData4.UpdateBool("join_before_host",1)
loo_JsonFormData4.UpdateBool("enforce_login",1)
loo_JsonFormData4.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData4.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData4.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData4.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData4.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData4.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData4.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData4.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData4.UpdateBool("meeting_authentication",1)
loo_JsonFormData4.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData4.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("recording","",loo_JsonFormData4,"utf-8","application/json")
loo_JsonFormData5 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData5.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData5.UpdateBool("host_video",1)
loo_JsonFormData5.UpdateBool("participant_video",0)
loo_JsonFormData5.UpdateBool("audio_type",0)
loo_JsonFormData5.UpdateBool("join_before_host",1)
loo_JsonFormData5.UpdateBool("enforce_login",1)
loo_JsonFormData5.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData5.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData5.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData5.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData5.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData5.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData5.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData5.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData5.UpdateBool("meeting_authentication",1)
loo_JsonFormData5.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData5.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("telephony","",loo_JsonFormData5,"utf-8","application/json")
loo_JsonFormData6 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData6.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData6.UpdateBool("host_video",1)
loo_JsonFormData6.UpdateBool("participant_video",0)
loo_JsonFormData6.UpdateBool("audio_type",0)
loo_JsonFormData6.UpdateBool("join_before_host",1)
loo_JsonFormData6.UpdateBool("enforce_login",1)
loo_JsonFormData6.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData6.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData6.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData6.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData6.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData6.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData6.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData6.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData6.UpdateBool("meeting_authentication",1)
loo_JsonFormData6.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData6.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("tsp","",loo_JsonFormData6,"utf-8","application/json")
loo_JsonFormData7 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData7.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData7.UpdateBool("host_video",1)
loo_JsonFormData7.UpdateBool("participant_video",0)
loo_JsonFormData7.UpdateBool("audio_type",0)
loo_JsonFormData7.UpdateBool("join_before_host",1)
loo_JsonFormData7.UpdateBool("enforce_login",1)
loo_JsonFormData7.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData7.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData7.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData7.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData7.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData7.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData7.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData7.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData7.UpdateBool("meeting_authentication",1)
loo_JsonFormData7.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData7.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("other_options","",loo_JsonFormData7,"utf-8","application/json")
loo_JsonFormData8 = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JsonFormData8.ConnectToNewObject("Chilkat.JsonObject")
loo_JsonFormData8.UpdateBool("host_video",1)
loo_JsonFormData8.UpdateBool("participant_video",0)
loo_JsonFormData8.UpdateBool("audio_type",0)
loo_JsonFormData8.UpdateBool("join_before_host",1)
loo_JsonFormData8.UpdateBool("enforce_login",1)
loo_JsonFormData8.UpdateBool("enforce_login_with_domains",1)
loo_JsonFormData8.UpdateString("enforce_login_domains","ipsum sint")
loo_JsonFormData8.UpdateBool("not_store_meeting_topic",0)
loo_JsonFormData8.UpdateBool("require_password_for_scheduling_new_meetings",1)
loo_JsonFormData8.UpdateBool("require_password_for_instant_meetings",0)
loo_JsonFormData8.UpdateBool("require_password_for_pmi_meetings",0)
loo_JsonFormData8.UpdateBool("use_pmi_for_scheduled_meetings",0)
loo_JsonFormData8.UpdateBool("use_pmi_for_instant_meetings",1)
loo_JsonFormData8.UpdateBool("meeting_authentication",1)
loo_JsonFormData8.UpdateBool("embed_password_in_join_link",0)
loo_JsonFormData8.UpdateBool("personal_meeting",0)
loo_Req.AddStringForUpload2("audio_conferencing","",loo_JsonFormData8,"utf-8","application/json")
loo_Req.AddHeader("Authorization","Bearer <access_token>")
loo_Resp = loo_Http.SynchronousRequest("api.zoom.us",443,1,loo_Req)
if loo_Http.LastMethodSuccess = 0 then
Write-Debug loo_Http.LastErrorText
destroy loo_Http
destroy loo_Req
destroy loo_JsonFormData1
destroy loo_JsonFormData2
destroy loo_JsonFormData3
destroy loo_JsonFormData4
destroy loo_JsonFormData5
destroy loo_JsonFormData6
destroy loo_JsonFormData7
destroy loo_JsonFormData8
return
end if
loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")
loo_Resp.GetBodySb(loo_SbResponseBody)
loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")
loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0
Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()
li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
Write-Debug "Response Header:"
Write-Debug loo_Resp.Header
Write-Debug "Failed."
destroy loo_Resp
destroy loo_Http
destroy loo_Req
destroy loo_JsonFormData1
destroy loo_JsonFormData2
destroy loo_JsonFormData3
destroy loo_JsonFormData4
destroy loo_JsonFormData5
destroy loo_JsonFormData6
destroy loo_JsonFormData7
destroy loo_JsonFormData8
destroy loo_SbResponseBody
destroy loo_JResp
return
end if
destroy loo_Resp
destroy loo_Http
destroy loo_Req
destroy loo_JsonFormData1
destroy loo_JsonFormData2
destroy loo_JsonFormData3
destroy loo_JsonFormData4
destroy loo_JsonFormData5
destroy loo_JsonFormData6
destroy loo_JsonFormData7
destroy loo_JsonFormData8
destroy loo_SbResponseBody
destroy loo_JResp
Curl Command
curl -X PATCH
-H "Authorization: Bearer <access_token>"
-H "Content-Type: multipart/form-data"
--form 'schedule_meeting={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}'
--form 'in_meeting={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}'
--form 'email_notification={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}'
--form 'recording={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}{"local_recording":false,"cloud_recording":true,"auto_recording":"magna qui in","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":true,"auto_delete_cmr":false,"recording_authentication":"eu sint sunt","prevent_host_access_recording":true,"ip_address_access_control":{"enable":false,"ip_addresses_or_ranges":"nulla ad"}}'
--form 'telephony={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}{"local_recording":false,"cloud_recording":true,"auto_recording":"magna qui in","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":true,"auto_delete_cmr":false,"recording_authentication":"eu sint sunt","prevent_host_access_recording":true,"ip_address_access_control":{"enable":false,"ip_addresses_or_ranges":"nulla ad"}}{"third_party_audio":true,"telephony_regions":true}'
--form 'tsp={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}{"local_recording":false,"cloud_recording":true,"auto_recording":"magna qui in","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":true,"auto_delete_cmr":false,"recording_authentication":"eu sint sunt","prevent_host_access_recording":true,"ip_address_access_control":{"enable":false,"ip_addresses_or_ranges":"nulla ad"}}{"third_party_audio":true,"telephony_regions":true}{"call_out":false,"show_international_numbers_link":true}'
--form 'other_options={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}{"local_recording":false,"cloud_recording":true,"auto_recording":"magna qui in","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":true,"auto_delete_cmr":false,"recording_authentication":"eu sint sunt","prevent_host_access_recording":true,"ip_address_access_control":{"enable":false,"ip_addresses_or_ranges":"nulla ad"}}{"third_party_audio":true,"telephony_regions":true}{"call_out":false,"show_international_numbers_link":true}{"blur_snapshot":false}'
--form 'audio_conferencing={"host_video":true,"participant_video":false,"audio_type":false,"join_before_host":true,"enforce_login":true,"enforce_login_with_domains":true,"enforce_login_domains":"ipsum sint","not_store_meeting_topic":false,"require_password_for_scheduling_new_meetings":true,"require_password_for_instant_meetings":false,"require_password_for_pmi_meetings":false,"use_pmi_for_scheduled_meetings":false,"use_pmi_for_instant_meetings":true,"meeting_authentication":true,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":false,"chat":true,"private_chat":true,"auto_saving_chat":true,"entry_exit_chime":"occaecat ex ullamco ipsum commodo","feedback":true,"post_meeting_feedback":false,"co_host":true,"polling":false,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":true,"attention_mode_focus_mode":false,"annotation":false,"whiteboard":true,"remote_control":false,"webinar_question_answer":true,"anonymous_question_answer":false,"breakout_room":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":true,"alert_guest_join":true,"auto_answer":false,"sending_default_email_invites":true,"use_html_format_email":false,"dscp_marking":true,"stereo_audio":true,"original_audio":false,"screen_sharing":false,"file_transfer":true,"custom_data_center_regions":true,"request_permission_to_unmute":false,"allow_live_streaming":false,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":true,"meeting_survey":true,"webinar_polling":true,"webinar_survey":false}{"cloud_recording_available_reminder":true,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":false,"schedule_for_reminder":true}{"local_recording":false,"cloud_recording":true,"auto_recording":"magna qui in","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":true,"auto_delete_cmr":false,"recording_authentication":"eu sint sunt","prevent_host_access_recording":true,"ip_address_access_control":{"enable":false,"ip_addresses_or_ranges":"nulla ad"}}{"third_party_audio":true,"telephony_regions":true}{"call_out":false,"show_international_numbers_link":true}{"blur_snapshot":false}{"toll_free_and_fee_based_toll_call":false}'
https://api.zoom.us/v2/accounts/:accountId/lock_settings
Postman Collection Item JSON
{
"name": "Update locked settings",
"request": {
"auth": {
"type": "oauth2"
},
"method": "PATCH",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "schedule_meeting",
"value": "{\"host_video\":true,\"participant_video\":false,\"audio_type\":false,\"join_before_host\":true,\"enforce_login\":true,\"enforce_login_with_domains\":true,\"enforce_login_domains\":\"ipsum sint\",\"not_store_meeting_topic\":false,\"require_password_for_scheduling_new_meetings\":true,\"require_password_for_instant_meetings\":false,\"require_password_for_pmi_meetings\":false,\"use_pmi_for_scheduled_meetings\":false,\"use_pmi_for_instant_meetings\":true,\"meeting_authentication\":true,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":false,\"chat\":true,\"private_chat\":true,\"auto_saving_chat\":true,\"entry_exit_chime\":\"occaecat ex ullamco ipsum commodo\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":true,\"polling\":false,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":true,\"attention_mode_focus_mode\":false,\"annotation\":false,\"whiteboard\":true,\"remote_control\":false,\"webinar_question_answer\":true,\"anonymous_question_answer\":false,\"breakout_room\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":true,\"alert_guest_join\":true,\"auto_answer\":false,\"sending_default_email_invites\":true,\"use_html_format_email\":false,\"dscp_marking\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":false,\"file_transfer\":true,\"custom_data_center_regions\":true,\"request_permission_to_unmute\":false,\"allow_live_streaming\":false,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":true,\"meeting_survey\":true,\"webinar_polling\":true,\"webinar_survey\":false}",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":true,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":false,\"schedule_for_reminder\":true}",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":true,\"auto_recording\":\"magna qui in\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":true,\"auto_delete_cmr\":false,\"recording_authentication\":\"eu sint sunt\",\"prevent_host_access_recording\":true,\"ip_address_access_control\":{\"enable\":false,\"ip_addresses_or_ranges\":\"nulla ad\"}}",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":true}",
"type": "text"
},
{
"key": "tsp",
"value": "{\"call_out\":false,\"show_international_numbers_link\":true}",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":false}",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":false}",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/accounts/:accountId/lock_settings",
"host": [
"{{baseUrl}}"
],
"path": [
"accounts",
":accountId",
"lock_settings"
],
"variable": [
{
"key": "accountId",
"value": "quis officia in reprehenderit",
"description": "(Required) Unique Identifier of the account. To retrieve locked settings of the master account or a regular account, provide \"me\" as the value of this field. <br> To retrieve locked settings of a sub account, provide the Account ID of the sub account in this field."
}
]
},
"description": "[Account Locked Settings](https://support.zoom.us/hc/en-us/articles/115005269866) allow you turn settings on or off for all users in your account. No user except the account admin or account owner can change these settings. With lock settings, you force the settings on for all users. Use this API to update an account's locked settings.\n\n**Note:** This API can be used by Zoom Accounts that are on a Pro or a higher plan as well accounts that have master and sub accounts options enabled.<br><br>\n**Prerequisites:**<br>\n* Pro or a higher paid account. <br>\n\n**Scope:** `account:write:admin`<br>\n**[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Medium`<br>\n\n\n "
},
"response": [
{
"name": "**Error Code:** `200`<br>\nOnly available for Paid account: $accountId.\n",
"originalRequest": {
"method": "PATCH",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "schedule_meeting",
"value": "{\"host_video\":true,\"participant_video\":false,\"audio_type\":false,\"join_before_host\":true,\"enforce_login\":true,\"enforce_login_with_domains\":true,\"enforce_login_domains\":\"ipsum sint\",\"not_store_meeting_topic\":false,\"require_password_for_scheduling_new_meetings\":true,\"require_password_for_instant_meetings\":false,\"require_password_for_pmi_meetings\":false,\"use_pmi_for_scheduled_meetings\":false,\"use_pmi_for_instant_meetings\":true,\"meeting_authentication\":true,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":false,\"chat\":true,\"private_chat\":true,\"auto_saving_chat\":true,\"entry_exit_chime\":\"occaecat ex ullamco ipsum commodo\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":true,\"polling\":false,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":true,\"attention_mode_focus_mode\":false,\"annotation\":false,\"whiteboard\":true,\"remote_control\":false,\"webinar_question_answer\":true,\"anonymous_question_answer\":false,\"breakout_room\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":true,\"alert_guest_join\":true,\"auto_answer\":false,\"sending_default_email_invites\":true,\"use_html_format_email\":false,\"dscp_marking\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":false,\"file_transfer\":true,\"custom_data_center_regions\":true,\"request_permission_to_unmute\":false,\"allow_live_streaming\":false,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":true,\"meeting_survey\":true,\"webinar_polling\":true,\"webinar_survey\":false}",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":true,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":false,\"schedule_for_reminder\":true}",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":true,\"auto_recording\":\"magna qui in\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":true,\"auto_delete_cmr\":false,\"recording_authentication\":\"eu sint sunt\",\"prevent_host_access_recording\":true,\"ip_address_access_control\":{\"enable\":false,\"ip_addresses_or_ranges\":\"nulla ad\"}}",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":true}",
"type": "text"
},
{
"key": "tsp",
"value": "{\"call_out\":false,\"show_international_numbers_link\":true}",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":false}",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":false}",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/accounts/:accountId/lock_settings",
"host": [
"{{baseUrl}}"
],
"path": [
"accounts",
":accountId",
"lock_settings"
],
"variable": [
{
"key": "accountId",
"value": "quis officia in reprehenderit",
"description": "(Required) Unique Identifier of the account. To retrieve locked settings of the master account or a regular account, provide \"me\" as the value of this field. <br> To retrieve locked settings of a sub account, provide the Account ID of the sub account in this field."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{}"
},
{
"name": "**HTTP Status Code:** `204`<br>\nAccount lock settings updated.",
"originalRequest": {
"method": "PATCH",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "schedule_meeting",
"value": "{\"host_video\":true,\"participant_video\":false,\"audio_type\":false,\"join_before_host\":true,\"enforce_login\":true,\"enforce_login_with_domains\":true,\"enforce_login_domains\":\"ipsum sint\",\"not_store_meeting_topic\":false,\"require_password_for_scheduling_new_meetings\":true,\"require_password_for_instant_meetings\":false,\"require_password_for_pmi_meetings\":false,\"use_pmi_for_scheduled_meetings\":false,\"use_pmi_for_instant_meetings\":true,\"meeting_authentication\":true,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":false,\"chat\":true,\"private_chat\":true,\"auto_saving_chat\":true,\"entry_exit_chime\":\"occaecat ex ullamco ipsum commodo\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":true,\"polling\":false,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":true,\"attention_mode_focus_mode\":false,\"annotation\":false,\"whiteboard\":true,\"remote_control\":false,\"webinar_question_answer\":true,\"anonymous_question_answer\":false,\"breakout_room\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":true,\"alert_guest_join\":true,\"auto_answer\":false,\"sending_default_email_invites\":true,\"use_html_format_email\":false,\"dscp_marking\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":false,\"file_transfer\":true,\"custom_data_center_regions\":true,\"request_permission_to_unmute\":false,\"allow_live_streaming\":false,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":true,\"meeting_survey\":true,\"webinar_polling\":true,\"webinar_survey\":false}",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":true,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":false,\"schedule_for_reminder\":true}",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":true,\"auto_recording\":\"magna qui in\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":true,\"auto_delete_cmr\":false,\"recording_authentication\":\"eu sint sunt\",\"prevent_host_access_recording\":true,\"ip_address_access_control\":{\"enable\":false,\"ip_addresses_or_ranges\":\"nulla ad\"}}",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":true}",
"type": "text"
},
{
"key": "tsp",
"value": "{\"call_out\":false,\"show_international_numbers_link\":true}",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":false}",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":false}",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/accounts/:accountId/lock_settings",
"host": [
"{{baseUrl}}"
],
"path": [
"accounts",
":accountId",
"lock_settings"
],
"variable": [
{
"key": "accountId",
"value": "quis officia in reprehenderit",
"description": "(Required) Unique Identifier of the account. To retrieve locked settings of the master account or a regular account, provide \"me\" as the value of this field. <br> To retrieve locked settings of a sub account, provide the Account ID of the sub account in this field."
}
]
}
},
"status": "No Content",
"code": 204,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{}"
},
{
"name": "**HTTP Status Code:** `404`<br>\n**Error Code:** `2001`<br>\nTAccount does not exist: $subAccountId.\n",
"originalRequest": {
"method": "PATCH",
"header": [
{
"description": "Added as a part of security scheme: oauth2",
"key": "Authorization",
"value": "<token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "schedule_meeting",
"value": "{\"host_video\":true,\"participant_video\":false,\"audio_type\":false,\"join_before_host\":true,\"enforce_login\":true,\"enforce_login_with_domains\":true,\"enforce_login_domains\":\"ipsum sint\",\"not_store_meeting_topic\":false,\"require_password_for_scheduling_new_meetings\":true,\"require_password_for_instant_meetings\":false,\"require_password_for_pmi_meetings\":false,\"use_pmi_for_scheduled_meetings\":false,\"use_pmi_for_instant_meetings\":true,\"meeting_authentication\":true,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":false,\"chat\":true,\"private_chat\":true,\"auto_saving_chat\":true,\"entry_exit_chime\":\"occaecat ex ullamco ipsum commodo\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":true,\"polling\":false,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":true,\"attention_mode_focus_mode\":false,\"annotation\":false,\"whiteboard\":true,\"remote_control\":false,\"webinar_question_answer\":true,\"anonymous_question_answer\":false,\"breakout_room\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":true,\"alert_guest_join\":true,\"auto_answer\":false,\"sending_default_email_invites\":true,\"use_html_format_email\":false,\"dscp_marking\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":false,\"file_transfer\":true,\"custom_data_center_regions\":true,\"request_permission_to_unmute\":false,\"allow_live_streaming\":false,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":true,\"meeting_survey\":true,\"webinar_polling\":true,\"webinar_survey\":false}",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":true,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":false,\"schedule_for_reminder\":true}",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":true,\"auto_recording\":\"magna qui in\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":true,\"auto_delete_cmr\":false,\"recording_authentication\":\"eu sint sunt\",\"prevent_host_access_recording\":true,\"ip_address_access_control\":{\"enable\":false,\"ip_addresses_or_ranges\":\"nulla ad\"}}",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":true}",
"type": "text"
},
{
"key": "tsp",
"value": "{\"call_out\":false,\"show_international_numbers_link\":true}",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":false}",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":false}",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/accounts/:accountId/lock_settings",
"host": [
"{{baseUrl}}"
],
"path": [
"accounts",
":accountId",
"lock_settings"
],
"variable": [
{
"key": "accountId",
"value": "quis officia in reprehenderit",
"description": "(Required) Unique Identifier of the account. To retrieve locked settings of the master account or a regular account, provide \"me\" as the value of this field. <br> To retrieve locked settings of a sub account, provide the Account ID of the sub account in this field."
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}