## Kick all participants `client.RealtimeKit.ActiveSession.KickAllParticipants(ctx, appID, meetingID, body) (*ActiveSessionKickAllParticipantsResponse, error)` **post** `/accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/kick-all` Kicks all participants from an active session for the given meeting ID. ### Parameters - `appID string` The app identifier tag. - `meetingID string` - `body ActiveSessionKickAllParticipantsParams` - `AccountID param.Field[string]` The account identifier tag. ### Returns - `type ActiveSessionKickAllParticipantsResponse struct{…}` - `Data ActiveSessionKickAllParticipantsResponseData` - `Action string` - `KickedParticipantsCount float64` - `Success bool` ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/option" "github.com/cloudflare/cloudflare-go/realtime_kit" ) func main() { client := cloudflare.NewClient( option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"), ) response, err := client.RealtimeKit.ActiveSession.KickAllParticipants( context.TODO(), "app_id", "meeting_id", realtime_kit.ActiveSessionKickAllParticipantsParams{ AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response.Data) } ``` #### Response ```json { "data": { "action": "action", "kicked_participants_count": 0 }, "success": true } ```