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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;holidays&quot;:[{&quot;holiday_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;from&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;to&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;holiday_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;from&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;to&quot;:&quot;\u003cdateTime\u003e&quot;}]}