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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"voicemail_access_members":[{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e","shared_id":"\u003cstring\u003e"},{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e","shared_id":"\u003cstring\u003e"}]}