We need to drop a specific participant from an active conference call using the Genesys Cloud Conversations API. The goal is to keep the rest of the call alive while removing one user, usually due to a compliance flag in our WFM system.
I tried calling DELETE /api/v2/interactions/participants/{participantId}. I have the participant ID from the conversation payload. The request returns a 200 OK status, but the participant stays on the line. The UI still shows them as connected.
Here is the curl command I am using:
curl -X DELETE "https://mydomain.mygen.com/api/v2/interactions/participants/abc-123-def-456" \
-H "Authorization: Bearer <token>"
The response body is empty. No error message. Just 200.
Maybe I need to use the disconnect action instead? I saw some old docs mentioning a POST to /conversations/voice/{conversationId}/participants/{participantId}/actions with a JSON body like {"action": "disconnect"}. But the endpoint path looks different in the current Swagger spec.
Which endpoint actually works for dropping a single user without hanging up the whole conference?