Logo
Zoom Public API Documentation

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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "voicemail_access_members": [ { "access_user_id": "<string>", "allow_download": "<boolean>", "allow_delete": "<boolean>", "allow_sharing": "<boolean>", "shared_id": "<string>", "access_user_type": "user" }, { "access_user_id": "<string>", "allow_download": "<boolean>", "allow_delete": "<boolean>", "allow_sharing": "<boolean>", "shared_id": "<string>", "access_user_type": "commonArea" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/shared_line_groups/:slgId/policy/:policyType' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"voicemail_access_members":[{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e"},{"access_user_id":"\u003cstring\u003e","allow_download":"\u003cboolean\u003e","allow_delete":"\u003cboolean\u003e","allow_sharing":"\u003cboolean\u003e"}]}'

ENDPOINTS