Update a setting template
PATCH
{{baseUrl}}/phone/setting_templates/:templateId
Use this API to update or modify a phone template's settings.
Scopes: phone:write:admin
or phone:write
Rate Limit Label: Light
Prerequisites:
* A Business or Enterprise account
* A Zoom Phone license
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/setting_templates/:templateId' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"description":"Main site user template","name":"user template","policy":{"ad_hoc_call_recording":{"enable":true,"recording_start_prompt":true,"recording_transcription":true},"auto_call_recording":{"enable":true,"recording_calls":"outbound","recording_start_prompt":true,"recording_transcription":true},"sms":{"enable":true,"international_sms":true},"voicemail":{"allow_transcription":true,"enable":true}},"profile":{"area_code":"01","country":"US"},"user_settings":{"audio_prompt_language":"ja-JP","block_calls_without_caller_id":false,"call_handling":{"business_hours":{"business_hour_action":50,"connect_to_operator":{"enable":true,"id":"fWOgOALdT1ei4vjXK-QYsA","type":"user"},"custom_hours":[{"from":"09:50:10.508Z","to":"05:55:18.168Z","type":2,"weekday":1},{"from":"10:33:14.241Z","to":"10:21:03.375Z","type":2,"weekday":1}],"ring_type":"simultaneous","ringing_duration":"35","type":2},"close_hours":{"close_hour_action":50,"connect_to_operator":{"enable":true,"id":"fWOgOALdT1ei4vjXK-QYsA","type":"user"},"max_wait_time":"20"}},"desk_phone":{"pin_code":"0995"},"hold_music":"disable"}}'