C / Zoom API / Update locked settings
Back to Collection Items
#include <C_CkHttp.h>
#include <C_CkHttpRequest.h>
#include <C_CkJsonObject.h>
#include <C_CkHttpResponse.h>
#include <C_CkStringBuilder.h>
void ChilkatSample(void)
{
HCkHttp http;
BOOL success;
HCkHttpRequest req;
HCkJsonObject jsonFormData1;
HCkJsonObject jsonFormData2;
HCkJsonObject jsonFormData3;
HCkJsonObject jsonFormData4;
HCkJsonObject jsonFormData5;
HCkJsonObject jsonFormData6;
HCkJsonObject jsonFormData7;
HCkHttpResponse resp;
HCkStringBuilder sbResponseBody;
HCkJsonObject jResp;
int respStatusCode;
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http = CkHttp_Create();
req = CkHttpRequest_Create();
CkHttpRequest_putHttpVerb(req,"PATCH");
CkHttpRequest_putPath(req,"/");
CkHttpRequest_putContentType(req,"multipart/form-data");
jsonFormData1 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData1,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData1,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData1,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"schedule_meeting","",jsonFormData1,"utf-8","application/json");
jsonFormData2 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData2,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData2,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData2,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"in_meeting","",jsonFormData2,"utf-8","application/json");
jsonFormData3 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData3,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData3,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData3,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"email_notification","",jsonFormData3,"utf-8","application/json");
jsonFormData4 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData4,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData4,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData4,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"recording","",jsonFormData4,"utf-8","application/json");
jsonFormData5 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData5,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData5,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData5,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"telephony","",jsonFormData5,"utf-8","application/json");
jsonFormData6 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData6,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData6,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData6,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"other_options","",jsonFormData6,"utf-8","application/json");
jsonFormData7 = CkJsonObject_Create();
CkJsonObject_UpdateBool(jsonFormData7,"host_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"participant_video",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"audio_type",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"join_before_host",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"force_pmi_jbh_password",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"require_password_for_scheduling_new_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"require_password_for_instant_meetings",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"require_password_for_pmi_meetings",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"pstn_password_protected",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"mute_upon_entry",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"upcoming_meeting_reminder",TRUE);
CkJsonObject_UpdateBool(jsonFormData7,"meeting_authentication",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"embed_password_in_join_link",FALSE);
CkJsonObject_UpdateBool(jsonFormData7,"personal_meeting",FALSE);
CkHttpRequest_AddStringForUpload2(req,"audio_conferencing","",jsonFormData7,"utf-8","application/json");
CkHttpRequest_AddHeader(req,"Authorization","Bearer <access_token>");
resp = CkHttp_SynchronousRequest(http,"reprehenderit",80,FALSE,req);
if (CkHttp_getLastMethodSuccess(http) == FALSE) {
printf("%s\n",CkHttp_lastErrorText(http));
CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonFormData1);
CkJsonObject_Dispose(jsonFormData2);
CkJsonObject_Dispose(jsonFormData3);
CkJsonObject_Dispose(jsonFormData4);
CkJsonObject_Dispose(jsonFormData5);
CkJsonObject_Dispose(jsonFormData6);
CkJsonObject_Dispose(jsonFormData7);
return;
}
sbResponseBody = CkStringBuilder_Create();
CkHttpResponse_GetBodySb(resp,sbResponseBody);
jResp = CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,sbResponseBody);
CkJsonObject_putEmitCompact(jResp,FALSE);
printf("Response Body:\n");
printf("%s\n",CkJsonObject_emit(jResp));
respStatusCode = CkHttpResponse_getStatusCode(resp);
printf("Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
printf("Response Header:\n");
printf("%s\n",CkHttpResponse_header(resp));
printf("Failed.\n");
CkHttpResponse_Dispose(resp);
CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonFormData1);
CkJsonObject_Dispose(jsonFormData2);
CkJsonObject_Dispose(jsonFormData3);
CkJsonObject_Dispose(jsonFormData4);
CkJsonObject_Dispose(jsonFormData5);
CkJsonObject_Dispose(jsonFormData6);
CkJsonObject_Dispose(jsonFormData7);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
return;
}
CkHttpResponse_Dispose(resp);
CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonFormData1);
CkJsonObject_Dispose(jsonFormData2);
CkJsonObject_Dispose(jsonFormData3);
CkJsonObject_Dispose(jsonFormData4);
CkJsonObject_Dispose(jsonFormData5);
CkJsonObject_Dispose(jsonFormData6);
CkJsonObject_Dispose(jsonFormData7);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(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":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}'
--form 'in_meeting={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}'
--form 'email_notification={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}{"cloud_recording_available_reminder":false,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":true,"schedule_for_reminder":false}'
--form 'recording={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}{"cloud_recording_available_reminder":false,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":true,"schedule_for_reminder":false}{"local_recording":false,"cloud_recording":false,"auto_recording":"adipisicing sunt aute ea","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":false,"auto_delete_cmr":false,"recording_authentication":"esse irure ut","ip_address_access_control":{"enable":true,"ip_addresses_or_ranges":"aute irure"}}'
--form 'telephony={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}{"cloud_recording_available_reminder":false,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":true,"schedule_for_reminder":false}{"local_recording":false,"cloud_recording":false,"auto_recording":"adipisicing sunt aute ea","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":false,"auto_delete_cmr":false,"recording_authentication":"esse irure ut","ip_address_access_control":{"enable":true,"ip_addresses_or_ranges":"aute irure"}}{"third_party_audio":true,"telephony_regions":false}'
--form 'other_options={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}{"cloud_recording_available_reminder":false,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":true,"schedule_for_reminder":false}{"local_recording":false,"cloud_recording":false,"auto_recording":"adipisicing sunt aute ea","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":false,"auto_delete_cmr":false,"recording_authentication":"esse irure ut","ip_address_access_control":{"enable":true,"ip_addresses_or_ranges":"aute irure"}}{"third_party_audio":true,"telephony_regions":false}{"blur_snapshot":true}'
--form 'audio_conferencing={"host_video":true,"participant_video":true,"audio_type":true,"join_before_host":true,"force_pmi_jbh_password":false,"require_password_for_scheduling_new_meetings":false,"require_password_for_instant_meetings":true,"require_password_for_pmi_meetings":false,"pstn_password_protected":false,"mute_upon_entry":true,"upcoming_meeting_reminder":true,"meeting_authentication":false,"embed_password_in_join_link":false,"personal_meeting":false}{"e2e_encryption":true,"chat":true,"private_chat":false,"auto_saving_chat":false,"entry_exit_chime":"sint enim voluptate aute dolore","feedback":true,"post_meeting_feedback":false,"co_host":false,"polling":true,"attendee_on_hold":false,"show_meeting_control_toolbar":false,"allow_show_zoom_windows":false,"annotation":true,"whiteboard":true,"remote_control":false,"non_verbal_feedback":true,"breakout_room":true,"remote_support":true,"closed_caption":true,"far_end_camera_control":true,"group_hd":true,"virtual_background":false,"alert_guest_join":true,"auto_answer":true,"sending_default_email_invites":false,"use_html_format_email":true,"stereo_audio":true,"original_audio":false,"screen_sharing":true,"waiting_room":false,"show_browser_join_link":false,"show_a_join_from_your_browser_link":false,"custom_data_center_regions":false,"file_transfer":true,"request_permission_to_unmute":false,"webinar_question_answer":false,"allow_live_streaming":true,"webinar_live_streaming":false,"webinar_chat":false,"save_caption":true,"slide_control":false,"meeting_survey":false,"webinar_polling":true,"webinar_survey":true}{"cloud_recording_available_reminder":false,"jbh_reminder":true,"cancel_meeting_reminder":false,"alternative_host_reminder":true,"schedule_for_reminder":false}{"local_recording":false,"cloud_recording":false,"auto_recording":"adipisicing sunt aute ea","cloud_recording_download":false,"account_user_access_recording":false,"host_delete_cloud_recording":false,"auto_delete_cmr":false,"recording_authentication":"esse irure ut","ip_address_access_control":{"enable":true,"ip_addresses_or_ranges":"aute irure"}}{"third_party_audio":true,"telephony_regions":false}{"blur_snapshot":true}{"toll_free_and_fee_based_toll_call":true}'
https://api.zoom.us/v2/groups/:groupId/lock_settings?option=quis officia in reprehenderit
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\":true,\"audio_type\":true,\"join_before_host\":true,\"force_pmi_jbh_password\":false,\"require_password_for_scheduling_new_meetings\":false,\"require_password_for_instant_meetings\":true,\"require_password_for_pmi_meetings\":false,\"pstn_password_protected\":false,\"mute_upon_entry\":true,\"upcoming_meeting_reminder\":true,\"meeting_authentication\":false,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":true,\"chat\":true,\"private_chat\":false,\"auto_saving_chat\":false,\"entry_exit_chime\":\"sint enim voluptate aute dolore\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":false,\"polling\":true,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":false,\"annotation\":true,\"whiteboard\":true,\"remote_control\":false,\"non_verbal_feedback\":true,\"breakout_room\":true,\"remote_support\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":false,\"alert_guest_join\":true,\"auto_answer\":true,\"sending_default_email_invites\":false,\"use_html_format_email\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":true,\"waiting_room\":false,\"show_browser_join_link\":false,\"show_a_join_from_your_browser_link\":false,\"custom_data_center_regions\":false,\"file_transfer\":true,\"request_permission_to_unmute\":false,\"webinar_question_answer\":false,\"allow_live_streaming\":true,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":false,\"meeting_survey\":false,\"webinar_polling\":true,\"webinar_survey\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":false,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":true,\"schedule_for_reminder\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":false,\"auto_recording\":\"adipisicing sunt aute ea\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":false,\"auto_delete_cmr\":false,\"recording_authentication\":\"esse irure ut\",\"ip_address_access_control\":{\"enable\":true,\"ip_addresses_or_ranges\":\"aute irure\"}}",
"description": "undefined",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":true}",
"description": "undefined",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/groups/:groupId/lock_settings?option=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"groups",
":groupId",
"lock_settings"
],
"query": [
{
"key": "option",
"value": "quis officia in reprehenderit",
"description": "Optional query parameters: \n* `meeting_security` — Use this query parameter to view the meeting security settings applied to the user's account."
}
],
"variable": [
{
"key": "groupId",
"value": "quis officia in reprehenderit",
"description": "(Required) The Id of the group."
}
]
},
"description": "Update a [group's](https://support.zoom.us/hc/en-us/articles/204519819-Group-Management-) locked settings. If you lock a setting, the group members will not be able to modify it individually. <p style=\"background-color:#FEEFB3; color:#9F6000\"><br>Note:</b> The `force_pmi_jbh_password` field under meeting settings is planned to be deprecated on September 22, 2019. This field will be replaced by another field that will provide the same functionality.</p>\n\n**Prerequisite**: Pro, Business, or Education account<br>\n**Scopes**: `group:write:admin`<br>\n\n **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Medium`"
},
"response": [
{
"name": "**Status Code:** `204`<br>\nGroup's locked 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\":true,\"audio_type\":true,\"join_before_host\":true,\"force_pmi_jbh_password\":false,\"require_password_for_scheduling_new_meetings\":false,\"require_password_for_instant_meetings\":true,\"require_password_for_pmi_meetings\":false,\"pstn_password_protected\":false,\"mute_upon_entry\":true,\"upcoming_meeting_reminder\":true,\"meeting_authentication\":false,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":true,\"chat\":true,\"private_chat\":false,\"auto_saving_chat\":false,\"entry_exit_chime\":\"sint enim voluptate aute dolore\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":false,\"polling\":true,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":false,\"annotation\":true,\"whiteboard\":true,\"remote_control\":false,\"non_verbal_feedback\":true,\"breakout_room\":true,\"remote_support\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":false,\"alert_guest_join\":true,\"auto_answer\":true,\"sending_default_email_invites\":false,\"use_html_format_email\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":true,\"waiting_room\":false,\"show_browser_join_link\":false,\"show_a_join_from_your_browser_link\":false,\"custom_data_center_regions\":false,\"file_transfer\":true,\"request_permission_to_unmute\":false,\"webinar_question_answer\":false,\"allow_live_streaming\":true,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":false,\"meeting_survey\":false,\"webinar_polling\":true,\"webinar_survey\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":false,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":true,\"schedule_for_reminder\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":false,\"auto_recording\":\"adipisicing sunt aute ea\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":false,\"auto_delete_cmr\":false,\"recording_authentication\":\"esse irure ut\",\"ip_address_access_control\":{\"enable\":true,\"ip_addresses_or_ranges\":\"aute irure\"}}",
"description": "undefined",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":true}",
"description": "undefined",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/groups/:groupId/lock_settings?option=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"groups",
":groupId",
"lock_settings"
],
"query": [
{
"key": "option",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "groupId",
"value": "quis officia in reprehenderit",
"description": "(Required) The Id of the group."
}
]
}
},
"status": "No Content",
"code": 204,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{}"
},
{
"name": "**HTTP Status Code:** `400` **Bad Request**<br>\n**Error Code:** `200`<br>\nOnly available for paid account.\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\":true,\"audio_type\":true,\"join_before_host\":true,\"force_pmi_jbh_password\":false,\"require_password_for_scheduling_new_meetings\":false,\"require_password_for_instant_meetings\":true,\"require_password_for_pmi_meetings\":false,\"pstn_password_protected\":false,\"mute_upon_entry\":true,\"upcoming_meeting_reminder\":true,\"meeting_authentication\":false,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":true,\"chat\":true,\"private_chat\":false,\"auto_saving_chat\":false,\"entry_exit_chime\":\"sint enim voluptate aute dolore\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":false,\"polling\":true,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":false,\"annotation\":true,\"whiteboard\":true,\"remote_control\":false,\"non_verbal_feedback\":true,\"breakout_room\":true,\"remote_support\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":false,\"alert_guest_join\":true,\"auto_answer\":true,\"sending_default_email_invites\":false,\"use_html_format_email\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":true,\"waiting_room\":false,\"show_browser_join_link\":false,\"show_a_join_from_your_browser_link\":false,\"custom_data_center_regions\":false,\"file_transfer\":true,\"request_permission_to_unmute\":false,\"webinar_question_answer\":false,\"allow_live_streaming\":true,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":false,\"meeting_survey\":false,\"webinar_polling\":true,\"webinar_survey\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":false,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":true,\"schedule_for_reminder\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":false,\"auto_recording\":\"adipisicing sunt aute ea\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":false,\"auto_delete_cmr\":false,\"recording_authentication\":\"esse irure ut\",\"ip_address_access_control\":{\"enable\":true,\"ip_addresses_or_ranges\":\"aute irure\"}}",
"description": "undefined",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":true}",
"description": "undefined",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/groups/:groupId/lock_settings?option=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"groups",
":groupId",
"lock_settings"
],
"query": [
{
"key": "option",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "groupId",
"value": "quis officia in reprehenderit",
"description": "(Required) The Id of the group."
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "**Status Code:** `404`<br>\nNot found.<br>\n**Error Code:** `4130`<br>\nThis group does not exist.\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\":true,\"audio_type\":true,\"join_before_host\":true,\"force_pmi_jbh_password\":false,\"require_password_for_scheduling_new_meetings\":false,\"require_password_for_instant_meetings\":true,\"require_password_for_pmi_meetings\":false,\"pstn_password_protected\":false,\"mute_upon_entry\":true,\"upcoming_meeting_reminder\":true,\"meeting_authentication\":false,\"embed_password_in_join_link\":false,\"personal_meeting\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "in_meeting",
"value": "{\"e2e_encryption\":true,\"chat\":true,\"private_chat\":false,\"auto_saving_chat\":false,\"entry_exit_chime\":\"sint enim voluptate aute dolore\",\"feedback\":true,\"post_meeting_feedback\":false,\"co_host\":false,\"polling\":true,\"attendee_on_hold\":false,\"show_meeting_control_toolbar\":false,\"allow_show_zoom_windows\":false,\"annotation\":true,\"whiteboard\":true,\"remote_control\":false,\"non_verbal_feedback\":true,\"breakout_room\":true,\"remote_support\":true,\"closed_caption\":true,\"far_end_camera_control\":true,\"group_hd\":true,\"virtual_background\":false,\"alert_guest_join\":true,\"auto_answer\":true,\"sending_default_email_invites\":false,\"use_html_format_email\":true,\"stereo_audio\":true,\"original_audio\":false,\"screen_sharing\":true,\"waiting_room\":false,\"show_browser_join_link\":false,\"show_a_join_from_your_browser_link\":false,\"custom_data_center_regions\":false,\"file_transfer\":true,\"request_permission_to_unmute\":false,\"webinar_question_answer\":false,\"allow_live_streaming\":true,\"webinar_live_streaming\":false,\"webinar_chat\":false,\"save_caption\":true,\"slide_control\":false,\"meeting_survey\":false,\"webinar_polling\":true,\"webinar_survey\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "email_notification",
"value": "{\"cloud_recording_available_reminder\":false,\"jbh_reminder\":true,\"cancel_meeting_reminder\":false,\"alternative_host_reminder\":true,\"schedule_for_reminder\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "recording",
"value": "{\"local_recording\":false,\"cloud_recording\":false,\"auto_recording\":\"adipisicing sunt aute ea\",\"cloud_recording_download\":false,\"account_user_access_recording\":false,\"host_delete_cloud_recording\":false,\"auto_delete_cmr\":false,\"recording_authentication\":\"esse irure ut\",\"ip_address_access_control\":{\"enable\":true,\"ip_addresses_or_ranges\":\"aute irure\"}}",
"description": "undefined",
"type": "text"
},
{
"key": "telephony",
"value": "{\"third_party_audio\":true,\"telephony_regions\":false}",
"description": "undefined",
"type": "text"
},
{
"key": "other_options",
"value": "{\"blur_snapshot\":true}",
"description": "undefined",
"type": "text"
},
{
"key": "audio_conferencing",
"value": "{\"toll_free_and_fee_based_toll_call\":true}",
"description": "undefined",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/groups/:groupId/lock_settings?option=quis officia in reprehenderit",
"host": [
"{{baseUrl}}"
],
"path": [
"groups",
":groupId",
"lock_settings"
],
"query": [
{
"key": "option",
"value": "quis officia in reprehenderit"
}
],
"variable": [
{
"key": "groupId",
"value": "quis officia in reprehenderit",
"description": "(Required) The Id of the group."
}
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}