Add a policy setting to a call queue

POST {{baseUrl}}/phone/call_queues/:callQueueId/policies/:policyType

Use this API to add the policy sub-setting for a specific call queue according to the policyType. For example, you can use this API to set up shared access members.

Prerequisites: * Pro or higher account with Zoom Phone license. * Account owner or admin privileges

Scopes: phone:write:admin

Granular Scopes: phone:write:call_queue_policy:admin

Rate Limit Label: Light

Request Body

{"voicemail_access_members"=>[{"access_user_id"=>"<string>", "allow_download"=>"<boolean>", "allow_delete"=>"<boolean>", "allow_sharing"=>"<boolean>"}, {"access_user_id"=>"<string>", "allow_download"=>"<boolean>", "allow_delete"=>"<boolean>", "allow_sharing"=>"<boolean>"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;voicemail_access_members&quot;:[{&quot;access_user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;allow_download&quot;:&quot;\u003cboolean\u003e&quot;,&quot;allow_delete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;allow_sharing&quot;:&quot;\u003cboolean\u003e&quot;,&quot;shared_id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;access_user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;allow_download&quot;:&quot;\u003cboolean\u003e&quot;,&quot;allow_delete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;allow_sharing&quot;:&quot;\u003cboolean\u003e&quot;,&quot;shared_id&quot;:&quot;\u003cstring\u003e&quot;}]}