Update the site setting

PATCH {{baseUrl}}/phone/sites/:siteId/settings/:settingType

Sites allow you to organize Zoom Phone users in your organization. Use this API to update the site setting of a specific site according to the setting type.

Prerequisites:

  • Account must have a Pro or a higher plan with Zoom Phone license.
  • Multiple sites must be

enabled .

Scopes: phone:write:admin

Granular Scopes: phone:update:site_setting:admin

Rate Limit Label : Light

Request Body

{"location_based_routing"=>{"enable"=>"<boolean>", "place_receive_pstn_calls"=>"<boolean>", "enable_media_off_load_pstn_calls"=>"<boolean>"}, "business_hours"=>{"custom_hour_type"=>2, "custom_hours"=>[{"from"=>"<string>", "to"=>"<string>", "type"=>2, "weekday"=>7}, {"from"=>"<string>", "to"=>"<string>", "type"=>1, "weekday"=>4}], "overflow"=>{"allow_caller_to_reach_operator"=>"<boolean>", "operator"=>{"extension_id"=>"<string>"}, "allow_caller_to_check_voicemail"=>"<boolean>"}}, "closed_hours"=>{"overflow"=>{"allow_caller_to_reach_operator"=>"<boolean>", "operator"=>{"extension_id"=>"<string>"}, "allow_caller_to_check_voicemail"=>"<boolean>"}}, "holiday_hours"=>{"holidays"=>[{"holiday_id"=>"<string>", "name"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}, {"holiday_id"=>"<string>", "name"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}], "overflow"=>{"allow_caller_to_reach_operator"=>"<boolean>", "operator"=>{"extension_id"=>"<string>"}, "allow_caller_to_check_voicemail"=>"<boolean>"}}, "outbound_caller_id"=>{"auto_receptionists_numbers"=>"<boolean>", "call_queue_numbers"=>"<boolean>", "share_line_group_numbers"=>"<boolean>", "show_outbound_caller_id_for_internal_call"=>"<boolean>"}, "audio_prompt"=>{"language"=>"<string>", "greeting_leave_voicemail_instruction"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "greeting_menu_leave_or_check_voicemail"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "greeting_menu_connect_to_operator_or_leave_voicemail"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "greeting_menu_connect_to_operator_leave_or_check_voicemail"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "leave_voicemail_introduction"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "message_greeting"=>{"business_hours"=>{"audio_id"=>"<string>"}, "closed_hours"=>{"audio_id"=>"<string>"}, "holiday_hours"=>{"audio_id"=>"<string>"}}, "audio_while_connecting"=>{"audio_id"=>"<string>"}, "hold_music"=>{"audio_id"=>"<string>"}}, "desk_phone"=>{"hot_desking_session_timeout"=>{"number"=>8, "unit"=>"hours"}}, "dial_by_name"=>{"status"=>"<boolean>", "inherit"=>"<boolean>", "rule"=>"first_name"}, "billing_account"=>{"id"=>"<string>"}}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | |

RESPONSES

status: ``