Add a policy setting to a shared line group
POST {{baseUrl}}/phone/shared_line_groups/:slgId/policy/:policyType
Adds the policy sub-setting for a specific
shared line group
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
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_type":"user"},{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e","shared_id":"\u003cstring\u003e","access_user_type":"commonArea"}]}