Removing participant from conference via PATCH vs PUT

I’m trying to drop a specific agent from an active conference call. The docs suggest using PATCH /api/v2/conversations/calls/{conversationId} to update the conversation, which allows disconnecting participants.

I’m sending:

{
 "participants": [{"id": "agent-uuid", "status": "disconnected"}]
}

Getting a 400 Bad Request. Is the status value wrong? Should I be using DELETE on the participant endpoint instead?

1 Like