Swift3 / Zoom API / Update locked settings
Back to Collection Items
func chilkatTest() {
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
let http = CkoHttp()!
var success: Bool
let req = CkoHttpRequest()!
req.httpVerb = "PATCH"
req.path = "/v2/accounts/:accountId/lock_settings"
req.contentType = "multipart/form-data"
let jsonFormData1 = CkoJsonObject()!
jsonFormData1.updateBool("host_video", value: true)
jsonFormData1.updateBool("participant_video", value: false)
jsonFormData1.updateBool("audio_type", value: false)
jsonFormData1.updateBool("join_before_host", value: true)
jsonFormData1.updateBool("enforce_login", value: true)
jsonFormData1.updateBool("enforce_login_with_domains", value: true)
jsonFormData1.update("enforce_login_domains", value: "ipsum sint")
jsonFormData1.updateBool("not_store_meeting_topic", value: false)
jsonFormData1.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData1.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData1.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData1.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData1.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData1.updateBool("meeting_authentication", value: true)
jsonFormData1.updateBool("embed_password_in_join_link", value: false)
jsonFormData1.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "schedule_meeting", filename: "", strData: jsonFormData1, charset: "utf-8", contentType: "application/json")
let jsonFormData2 = CkoJsonObject()!
jsonFormData2.updateBool("host_video", value: true)
jsonFormData2.updateBool("participant_video", value: false)
jsonFormData2.updateBool("audio_type", value: false)
jsonFormData2.updateBool("join_before_host", value: true)
jsonFormData2.updateBool("enforce_login", value: true)
jsonFormData2.updateBool("enforce_login_with_domains", value: true)
jsonFormData2.update("enforce_login_domains", value: "ipsum sint")
jsonFormData2.updateBool("not_store_meeting_topic", value: false)
jsonFormData2.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData2.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData2.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData2.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData2.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData2.updateBool("meeting_authentication", value: true)
jsonFormData2.updateBool("embed_password_in_join_link", value: false)
jsonFormData2.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "in_meeting", filename: "", strData: jsonFormData2, charset: "utf-8", contentType: "application/json")
let jsonFormData3 = CkoJsonObject()!
jsonFormData3.updateBool("host_video", value: true)
jsonFormData3.updateBool("participant_video", value: false)
jsonFormData3.updateBool("audio_type", value: false)
jsonFormData3.updateBool("join_before_host", value: true)
jsonFormData3.updateBool("enforce_login", value: true)
jsonFormData3.updateBool("enforce_login_with_domains", value: true)
jsonFormData3.update("enforce_login_domains", value: "ipsum sint")
jsonFormData3.updateBool("not_store_meeting_topic", value: false)
jsonFormData3.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData3.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData3.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData3.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData3.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData3.updateBool("meeting_authentication", value: true)
jsonFormData3.updateBool("embed_password_in_join_link", value: false)
jsonFormData3.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "email_notification", filename: "", strData: jsonFormData3, charset: "utf-8", contentType: "application/json")
let jsonFormData4 = CkoJsonObject()!
jsonFormData4.updateBool("host_video", value: true)
jsonFormData4.updateBool("participant_video", value: false)
jsonFormData4.updateBool("audio_type", value: false)
jsonFormData4.updateBool("join_before_host", value: true)
jsonFormData4.updateBool("enforce_login", value: true)
jsonFormData4.updateBool("enforce_login_with_domains", value: true)
jsonFormData4.update("enforce_login_domains", value: "ipsum sint")
jsonFormData4.updateBool("not_store_meeting_topic", value: false)
jsonFormData4.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData4.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData4.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData4.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData4.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData4.updateBool("meeting_authentication", value: true)
jsonFormData4.updateBool("embed_password_in_join_link", value: false)
jsonFormData4.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "recording", filename: "", strData: jsonFormData4, charset: "utf-8", contentType: "application/json")
let jsonFormData5 = CkoJsonObject()!
jsonFormData5.updateBool("host_video", value: true)
jsonFormData5.updateBool("participant_video", value: false)
jsonFormData5.updateBool("audio_type", value: false)
jsonFormData5.updateBool("join_before_host", value: true)
jsonFormData5.updateBool("enforce_login", value: true)
jsonFormData5.updateBool("enforce_login_with_domains", value: true)
jsonFormData5.update("enforce_login_domains", value: "ipsum sint")
jsonFormData5.updateBool("not_store_meeting_topic", value: false)
jsonFormData5.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData5.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData5.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData5.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData5.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData5.updateBool("meeting_authentication", value: true)
jsonFormData5.updateBool("embed_password_in_join_link", value: false)
jsonFormData5.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "telephony", filename: "", strData: jsonFormData5, charset: "utf-8", contentType: "application/json")
let jsonFormData6 = CkoJsonObject()!
jsonFormData6.updateBool("host_video", value: true)
jsonFormData6.updateBool("participant_video", value: false)
jsonFormData6.updateBool("audio_type", value: false)
jsonFormData6.updateBool("join_before_host", value: true)
jsonFormData6.updateBool("enforce_login", value: true)
jsonFormData6.updateBool("enforce_login_with_domains", value: true)
jsonFormData6.update("enforce_login_domains", value: "ipsum sint")
jsonFormData6.updateBool("not_store_meeting_topic", value: false)
jsonFormData6.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData6.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData6.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData6.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData6.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData6.updateBool("meeting_authentication", value: true)
jsonFormData6.updateBool("embed_password_in_join_link", value: false)
jsonFormData6.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "tsp", filename: "", strData: jsonFormData6, charset: "utf-8", contentType: "application/json")
let jsonFormData7 = CkoJsonObject()!
jsonFormData7.updateBool("host_video", value: true)
jsonFormData7.updateBool("participant_video", value: false)
jsonFormData7.updateBool("audio_type", value: false)
jsonFormData7.updateBool("join_before_host", value: true)
jsonFormData7.updateBool("enforce_login", value: true)
jsonFormData7.updateBool("enforce_login_with_domains", value: true)
jsonFormData7.update("enforce_login_domains", value: "ipsum sint")
jsonFormData7.updateBool("not_store_meeting_topic", value: false)
jsonFormData7.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData7.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData7.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData7.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData7.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData7.updateBool("meeting_authentication", value: true)
jsonFormData7.updateBool("embed_password_in_join_link", value: false)
jsonFormData7.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "other_options", filename: "", strData: jsonFormData7, charset: "utf-8", contentType: "application/json")
let jsonFormData8 = CkoJsonObject()!
jsonFormData8.updateBool("host_video", value: true)
jsonFormData8.updateBool("participant_video", value: false)
jsonFormData8.updateBool("audio_type", value: false)
jsonFormData8.updateBool("join_before_host", value: true)
jsonFormData8.updateBool("enforce_login", value: true)
jsonFormData8.updateBool("enforce_login_with_domains", value: true)
jsonFormData8.update("enforce_login_domains", value: "ipsum sint")
jsonFormData8.updateBool("not_store_meeting_topic", value: false)
jsonFormData8.updateBool("require_password_for_scheduling_new_meetings", value: true)
jsonFormData8.updateBool("require_password_for_instant_meetings", value: false)
jsonFormData8.updateBool("require_password_for_pmi_meetings", value: false)
jsonFormData8.updateBool("use_pmi_for_scheduled_meetings", value: false)
jsonFormData8.updateBool("use_pmi_for_instant_meetings", value: true)
jsonFormData8.updateBool("meeting_authentication", value: true)
jsonFormData8.updateBool("embed_password_in_join_link", value: false)
jsonFormData8.updateBool("personal_meeting", value: false)
req.addString(forUpload2: "audio_conferencing", filename: "", strData: jsonFormData8, charset: "utf-8", contentType: "application/json")
req.addHeader("Authorization", value: "Bearer <access_token>")
var resp: CkoHttpResponse? = http.synchronousRequest("api.zoom.us", port: 443, ssl: true, req: req)
if http.lastMethodSuccess == false {
print("\(http.lastErrorText!)")
return
}
let sbResponseBody = CkoStringBuilder()!
resp!.getBodySb(sbResponseBody)
let jResp = CkoJsonObject()!
jResp.loadSb(sbResponseBody)
jResp.emitCompact = false
print("Response Body:")
print("\(jResp.emit()!)")
var respStatusCode: Int = resp!.statusCode.intValue
print("Response Status Code = \(respStatusCode)")
if respStatusCode >= 400 {
print("Response Header:")
print("\(resp!.header!)")
print("Failed.")
resp = nil
return
}
resp = nil
}
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": ""
}
]
}