How Agents Disconnect Monitoring Users

Hello,

We're looking at ways agents can disconnect multiple users who are monitoring interactions.
The reason is that if there is a user being monitored, the agent will not be able to invoke the secure flow.
It was possible to disconnect only one user from the script using the following API endpoint:
*Use "Genesys Cloud Data Actions"

  1. Get monitoring participants
    GET /api/v2/conversations/{conversationId}
  2. Disconnecting monitoring participants
    PATCH /api/v2/conversations/{conversationId}/participants/{participantId}

However, if there are multiple users who are monitoring, it is not known how to disconnect them all.
Is there a way to disconnect all monitored participants from the script with as few button clicks as possible?

Best Regards,
Hirofumi Enotani

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.