Logo
Zoom Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X PATCH 'https://api.zoom.us/v2/phone/sites/:siteId/settings/:settingType' -H 'Content-Type: application/json' -d '{"location_based_routing":{"enable":"\u003cboolean\u003e","place_receive_pstn_calls":"\u003cboolean\u003e","enable_media_off_load_pstn_calls":"\u003cboolean\u003e"},"business_hours":{"custom_hour_type":2,"custom_hours":[{"from":"\u003cstring\u003e","to":"\u003cstring\u003e","type":2,"weekday":7},{"from":"\u003cstring\u003e","to":"\u003cstring\u003e","type":1,"weekday":4}],"overflow":{"allow_caller_to_reach_operator":"\u003cboolean\u003e","operator":{"extension_id":"\u003cstring\u003e"},"allow_caller_to_check_voicemail":"\u003cboolean\u003e"}},"closed_hours":{"overflow":{"allow_caller_to_reach_operator":"\u003cboolean\u003e","operator":{"extension_id":"\u003cstring\u003e"},"allow_caller_to_check_voicemail":"\u003cboolean\u003e"}},"holiday_hours":{"holidays":[{"holiday_id":"\u003cstring\u003e","name":"\u003cstring\u003e","from":"\u003cdateTime\u003e","to":"\u003cdateTime\u003e"},{"holiday_id":"\u003cstring\u003e","name":"\u003cstring\u003e","from":"\u003cdateTime\u003e","to":"\u003cdateTime\u003e"}],"overflow":{"allow_caller_to_reach_operator":"\u003cboolean\u003e","operator":{"extension_id":"\u003cstring\u003e"},"allow_caller_to_check_voicemail":"\u003cboolean\u003e"}},"outbound_caller_id":{"auto_receptionists_numbers":"\u003cboolean\u003e","call_queue_numbers":"\u003cboolean\u003e","share_line_group_numbers":"\u003cboolean\u003e","show_outbound_caller_id_for_internal_call":"\u003cboolean\u003e"},"audio_prompt":{"language":"\u003cstring\u003e","greeting_leave_voicemail_instruction":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"greeting_menu_leave_or_check_voicemail":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"greeting_menu_connect_to_operator_or_leave_voicemail":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"greeting_menu_connect_to_operator_leave_or_check_voicemail":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"leave_voicemail_introduction":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"message_greeting":{"business_hours":{"audio_id":"\u003cstring\u003e"},"closed_hours":{"audio_id":"\u003cstring\u003e"},"holiday_hours":{"audio_id":"\u003cstring\u003e"}},"audio_while_connecting":{"audio_id":"\u003cstring\u003e"},"hold_music":{"audio_id":"\u003cstring\u003e"}},"desk_phone":{"hot_desking_session_timeout":{"number":8,"unit":"hours"}},"dial_by_name":{"status":"\u003cboolean\u003e","inherit":"\u003cboolean\u003e","rule":"first_name"},"billing_account":{"id":"\u003cstring\u003e"}}'

ENDPOINTS