Chilkat Online Tools

unicodeC / Zoom API / Update locked settings

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkHttpRequestW req;
    HCkJsonObjectW jsonFormData1;
    HCkJsonObjectW jsonFormData2;
    HCkJsonObjectW jsonFormData3;
    HCkJsonObjectW jsonFormData4;
    HCkJsonObjectW jsonFormData5;
    HCkJsonObjectW jsonFormData6;
    HCkJsonObjectW jsonFormData7;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    http = CkHttpW_Create();

    req = CkHttpRequestW_Create();
    CkHttpRequestW_putHttpVerb(req,L"PATCH");
    CkHttpRequestW_putPath(req,L"/");
    CkHttpRequestW_putContentType(req,L"multipart/form-data");

    jsonFormData1 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData1,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData1,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"schedule_meeting",L"",jsonFormData1,L"utf-8",L"application/json");

    jsonFormData2 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData2,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData2,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"in_meeting",L"",jsonFormData2,L"utf-8",L"application/json");

    jsonFormData3 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData3,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData3,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"email_notification",L"",jsonFormData3,L"utf-8",L"application/json");

    jsonFormData4 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData4,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData4,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"recording",L"",jsonFormData4,L"utf-8",L"application/json");

    jsonFormData5 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData5,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData5,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"telephony",L"",jsonFormData5,L"utf-8",L"application/json");

    jsonFormData6 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData6,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData6,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"other_options",L"",jsonFormData6,L"utf-8",L"application/json");

    jsonFormData7 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateBool(jsonFormData7,L"host_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"participant_video",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"audio_type",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"join_before_host",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"force_pmi_jbh_password",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"require_password_for_scheduling_new_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"require_password_for_instant_meetings",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"require_password_for_pmi_meetings",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"pstn_password_protected",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"mute_upon_entry",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"upcoming_meeting_reminder",TRUE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"meeting_authentication",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"embed_password_in_join_link",FALSE);
    CkJsonObjectW_UpdateBool(jsonFormData7,L"personal_meeting",FALSE);
    CkHttpRequestW_AddStringForUpload2(req,L"audio_conferencing",L"",jsonFormData7,L"utf-8",L"application/json");

    CkHttpRequestW_AddHeader(req,L"Authorization",L"Bearer <access_token>");

    resp = CkHttpW_SynchronousRequest(http,L"reprehenderit",80,FALSE,req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonFormData1);
        CkJsonObjectW_Dispose(jsonFormData2);
        CkJsonObjectW_Dispose(jsonFormData3);
        CkJsonObjectW_Dispose(jsonFormData4);
        CkJsonObjectW_Dispose(jsonFormData5);
        CkJsonObjectW_Dispose(jsonFormData6);
        CkJsonObjectW_Dispose(jsonFormData7);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonFormData1);
        CkJsonObjectW_Dispose(jsonFormData2);
        CkJsonObjectW_Dispose(jsonFormData3);
        CkJsonObjectW_Dispose(jsonFormData4);
        CkJsonObjectW_Dispose(jsonFormData5);
        CkJsonObjectW_Dispose(jsonFormData6);
        CkJsonObjectW_Dispose(jsonFormData7);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonFormData1);
    CkJsonObjectW_Dispose(jsonFormData2);
    CkJsonObjectW_Dispose(jsonFormData3);
    CkJsonObjectW_Dispose(jsonFormData4);
    CkJsonObjectW_Dispose(jsonFormData5);
    CkJsonObjectW_Dispose(jsonFormData6);
    CkJsonObjectW_Dispose(jsonFormData7);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_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": ""
    }
  ]
}