Update phone site details
PATCH
{{baseUrl}}/phone/sites/:siteId
Sites allow you to organize Zoom Phone users in your organization. Use this API to update information about a specific site.
Prerequisites:
- Account must have a Pro or a higher plan with Zoom Phone license.
- Scope:
phone:write:admin
Rate Limit Label: Light
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status
curl -X PATCH 'https://api.zoom.us/v2/phone/sites/:siteId' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"The SJ site","site_code":2341,"short_extension":{"length":3,"ranges":[{"range_from":"123","range_to":"456"},{"range_from":"123","range_to":"456"}]},"default_emergency_address":{"country":"US","address_line1":"55 Almaden Blvd","state_code":"CA","city":"San Jose","zip":"95113","address_line2":"Test 3"},"policy":{"select_outbound_caller_id":{"enable":true,"reset":true,"locked":true},"personal_audio_library":{"enable":true,"reset":true,"locked":true,"allow_music_on_hold_customization":true,"allow_voicemail_and_message_greeting_customization":true},"voicemail":{"allow_delete":true,"allow_download":false,"allow_videomail":true,"enable":true,"reset":true,"locked":true},"voicemail_transcription":{"enable":true,"reset":true,"locked":true},"voicemail_notification_by_email":{"include_voicemail_file":true,"include_voicemail_transcription":false,"forward_voicemail_to_email":true,"enable":true,"reset":true,"locked":true},"shared_voicemail_notification_by_email":{"enable":true,"reset":true,"locked":true},"international_calling":{"enable":true,"reset":true,"locked":true},"zoom_phone_on_mobile":{"allow_calling_sms_mms":true,"enable":true,"reset":true,"locked":true},"sms":{"enable":true,"reset":true,"locked":true,"international_sms":true,"international_sms_countries":["US","US"]},"elevate_to_meeting":{"enable":true,"reset":true,"locked":true},"hand_off_to_room":{"enable":true,"reset":true,"locked":true},"mobile_switch_to_carrier":{"enable":true,"reset":true,"locked":true},"delegation":{"enable":true,"reset":true,"locked":true},"ad_hoc_call_recording":{"enable":true,"reset":true,"locked":true,"recording_start_prompt":false,"recording_transcription":true},"auto_call_recording":{"allow_stop_resume_recording":true,"disconnect_on_recording_failure":true,"enable":true,"reset":true,"locked":true,"recording_calls":"inbound","recording_explicit_consent":true,"recording_start_prompt":true,"recording_transcription":true,"play_side_tone_beep":true,"play_side_tone_beep_volume":0,"play_beep_time_interval":null},"call_handling_forwarding_to_other_users":{"enable":true,"call_forwarding_type":1,"reset":true,"locked":true},"check_voicemails_over_phone":{"enable":true,"reset":true,"locked":true},"call_queue_pickup_code":{"enable":true,"reset":true,"locked":true},"call_queue_opt_out_reason":{"enable":true,"reset":true,"locked":true,"call_queue_opt_out_reasons_list":[{"code":"Break","system":true,"enable":true},{"code":"Break","system":true,"enable":true}]},"show_user_last_transferred_call":true,"auto_delete_data_after_retention_duration":{"enable":true,"reset":true,"locked":true,"items":[{"type":"callLog","duration":-1,"time_unit":"year"},{"type":"callLog","duration":-1,"time_unit":"year"}],"delete_type":1},"call_park":{"call_not_picked_up_action":50,"enable":true,"reset":true,"locked":true,"expiration_period":3,"forward_to_extension_id":"TO586CYlQFC_WCUvPRXytA","sequence":1},"call_overflow":{"call_overflow_type":1,"enable":true,"reset":true,"locked":true},"call_transferring":{"call_transferring_type":1,"enable":true,"reset":true,"locked":true},"audio_intercom":{"enable":true,"reset":true,"locked":true},"block_calls_without_caller_id":{"enable":true,"reset":true,"locked":true},"block_external_calls":{"enable":true,"reset":true,"locked":true,"block_business_hours":true,"block_closed_hours":true,"block_holiday_hours":true,"block_call_action":0,"block_call_change_type":0}}}'