McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 479

↗ View in doc context
page
479
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::445

To delete a distribution list, do the following: DELETE https://<connection-server>/vmrest/distributionlists/<distributionlistObjectId> Accept: application/json Connection: keep-alive The following is the response from the above DELETE request and the actual response will depend upon the information given by you: Response Code: 204 Updating the Distribution List The following is an example of the PUT request that can be used to update the distribution list by replicating remote sites over inter-site links, adding contacts in distribution list, and accepting messages from foreign systems. PUT https://<connection-server>/vmrest/distributionlists/<distributionlistObjectId> Example 1: Replicate to remote sites over inter-site links is enabled, disable add contacts in distribution list, and disallow messages from users on remote voice messaging systems that are configured as VPIM locations. Request Body: <DistributionList> <AllowContacts>false</AllowContacts> <AllowForeignMessage>false</AllowForeignMessage> </DistributionList> Response Code: 204 JSON Example: PUT https://<connection-server>/vmrest/distributionlists/<distributionlistObjectId> Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "AllowContacts":"false", "AllowForeignMessage":"false" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 Example 2: Replicate to remote sites over inter-site links is disabled, enable add contacts in distribution list, and disallow messages from users on remote voice messaging systems that are configured as VPIM locations. Request Body: <DistributionList> <AllowContacts>true</AllowContacts> <AllowForeignMessage>false</AllowForeignMessage> </DistributionList> Cisco Unity Connection Provisioning Interface (CUPI) API 447 Cisco Unity Connection Provisioning Interface (CUPI) API for Distribution List Updating the Distribution List