Add a site setting
POST {{baseUrl}}/phone/sites/:siteId/settings/:settingType
Sites allow you to organize Zoom Phone users in your organization. Use this API to add a site setting to 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:write:site_setting:admin
Rate Limit Label: Light
Request Body
{"device_type"=>"<string>", "holidays"=>[{"name"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}, {"name"=>"<string>", "from"=>"<dateTime>", "to"=>"<dateTime>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"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"}]}