Mute all participants
realtime_kit.active_session.mute_all_participants(strmeeting_id, ActiveSessionMuteAllParticipantsParams**kwargs) -> ActiveSessionMuteAllParticipantsResponse
POST/accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/mute-all
Mutes all participants of an active session for the given meeting ID.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Mute all participants
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
response = client.realtime_kit.active_session.mute_all_participants(
meeting_id="meeting_id",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
app_id="14a396e7-ca44-4937-bf1f-050a69118543",
)
print(response.data){
"data": {
"action": "action",
"muted_participants_count": 0
},
"success": true
}Returns Examples
{
"data": {
"action": "action",
"muted_participants_count": 0
},
"success": true
}