Trying to kick a user out of a conference call using the Conversations API. I’m hitting PATCH /api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId} with the body { "status": "disconnected" } but I keep getting a 400 Bad Request. The documentation is sparse on the exact JSON structure needed. What am I missing?
3 Likes
The body needs the status field inside a conference object, not at the root level. Try this payload instead.
{
"conference": {
"status": "disconnected"
}
}