The member_id attribute that’s passed in the URL can be a member_id, a comma-separated list of member IDs on which this operation will be performed, or the string all. In the latter case, the unmute action is performed on all members of the conference.
## Example for Conference Member Mute Delete#require'rubygems'require'plivo'includePlivoincludePlivo::Exceptionsapi=RestClient.new("<auth_id>","<auth_token>")beginresponse=api.conferences.unmute_member('My Conf Room',[10])putsresponserescuePlivoRESTError=>eputs'Exception: '+e.messageend
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Example for Conference Member Mute deletevarplivo=require('plivo');(functionmain(){'use strict';// If auth id and auth token are not specified, Plivo will fetch them from the environment variables.varclient=newplivo.Client("<auth_id>","<auth_token>");client.conferences.unmuteMember("My Conf Room",// conference name10,// member id).then(function(response){console.log(response);},function(err){console.error(err);});})();
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php/**
* Example for Conference Member Mute delete
*/require'vendor/autoload.php';usePlivo\RestClient;usePlivo\Exceptions\PlivoRestException;$client=newRestClient("<auth_id>","<auth_token>");try{$response=$client->conferences->unMuteMember('My Conf Room',[10,11,14]);print_r($response);}catch(PlivoRestException$ex){print_r($ex);}
packagecom.plivo.api.samples.conference.member.mute;importjava.io.IOException;importcom.plivo.api.Plivo;importcom.plivo.api.exceptions.PlivoRestException;importcom.plivo.api.models.conference.Conference;/**
* Example for Conference Member Mute delete
*/classMuteDelete{publicstaticvoidmain(String[]args){Plivo.init("<auth_id>","<auth_token>");try{Conference.memberMuteStopper("My Conf Room","10").stop();System.out.println("Deleted successfully.");}catch(PlivoRestException|IOExceptione){e.printStackTrace();}}}
/**
* Example for Conference Member Mute Delete
*/usingSystem;usingSystem.Collections.Generic;usingPlivo;usingPlivo.Exception;namespacePlivoExamples{internalclassProgram{publicstaticvoidMain(string[]args){varapi=newPlivoApi("<auth_id>","<auth_token>");try{api.Conference.UnmuteMember(memberId:newList<string>(){"29568"},conferenceName:"testing");}catch(PlivoRestExceptione){Console.WriteLine("Exception: "+e.Message);}}}}
// Example for Conference Member Mute deletepackagemainimport("fmt""github.com/plivo/plivo-go/v7")funcmain(){client,err:=plivo.NewClient("<auth_id>","<auth_token>",&plivo.ClientOptions{})iferr!=nil{fmt.Print("Error",err.Error())return}response,err:=client.Conferences.MemberUnmute("My Conf Room","10",)iferr!=nil{fmt.Print("Error",err.Error())return}fmt.Printf("Response: %#v\n",response)}
Example Request
1
2
3
4
5
6
7
8
9
10
11
12
13
importplivoAUTH_ID="Your AUTH ID"AUTH_TOKEN="Your AUTH TOKEN"p=plivo.RestAPI(AUTH_ID,AUTH_TOKEN)params={# Name of your Conference
'conference_name':'my_conference_name','member_id':'3'}response=p.unmute_member(params)printstr(response)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# encoding: utf-8require'plivo'includePlivoAUTH_ID='MAXXXXXXXXXXXXXXXXXX'AUTH_TOKEN='MTUzZjA4NzhiYWNlOWExNTNlZGJmNzUwYWViYjc2'p=RestAPI.new(AUTH_ID,AUTH_TOKEN)params={# Name of your Conference'conference_name'=>'my_conference_name','member_id'=>'3'}response=p.unmute_member(params)putsresponse
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
varplivo=require('plivo');varp=plivo.RestAPI({authId:'Your AUTH ID',authToken:'Your AUTH TOKEN'});varparams={// Name of the Conference'conference_name':'my_conference_name','member_id':'3'// member_id can also be 'all'}p.unmute_conference_member(params,function(status,response){console.log('Status: ',status);console.log('API Response:',response);});
<?phprequire'vendor/autoload.php';usePlivo\RestAPI;$auth_id="Your AUTH_ID";$auth_token="Your AUTH_TOKEN";$p=newRestAPI($auth_id,$auth_token);$params=array(# Name of your Conference'conference_name'=>'my_conference_name','member_id'=>'3');$response=$p->unmute_member($params);// Print the responseecho"Status : ";print_r($response['status']);echo"Response : ";print_r($response['response']);?>
importjava.util.LinkedHashMap;importcom.plivo.helper.api.client.*;importcom.plivo.helper.api.response.response.GenericResponse;importcom.plivo.helper.exception.PlivoException;publicclassUnmuteMember{publicstaticvoidmain(String[]args){StringauthId="Your AUTH ID";StringauthToken="Your AUTH TOKEN";RestAPIapi=newRestAPI(authId,authToken,"v1");LinkedHashMap<String,String>parameters=newLinkedHashMap<String,String>();// Name of your Conferenceparameters.put("conference_name","my_conference_name");parameters.put("member_id","3");try{// Send the messageGenericResponsemsgResponse=api.unmuteMember(parameters);// Print the responseSystem.out.println(msgResponse);}catch(PlivoExceptione){System.out.println(e.getLocalizedMessage());}}}
usingSystem;usingSystem.Collections.Generic;usingRestSharp;usingPlivo.API;namespaceunmute_member{publicclassProgram{publicstaticvoidMain(string[]args){RestAPIplivo=newRestAPI("Your AUTH_ID","Your AUTH_TOKEN");IRestResponse<GenericResponse>resp=plivo.unmute_member(newDictionary<string,string>(){// Name of your Conference{"conference_name","my_conference_name"},{"member_id","3"},});//Prints the responseConsole.Write(resp.Content);Console.ReadLine();}}}
// Example for Conference Member Mute deletepackagemainimport("fmt""github.com/plivo/plivo-go/v7")funcmain(){client,err:=plivo.NewClient("<auth_id>","<auth_token>",&plivo.ClientOptions{})iferr!=nil{fmt.Print("Error",err.Error())return}response,err:=client.Conferences.MemberUnmute("My Conf Room","10",)iferr!=nil{fmt.Print("Error",err.Error())return}fmt.Printf("Response: %#v\n",response)}
Rate this page
🥳 Thank you! It means a lot to us!
×
Help Us Improve
Thank you so much for rating the page, we would like to get your input
for further improvements!