{% method %}
Change the conference properties and/or status.
POST
https://api.catapult.inetwork.com/v1/users/{userId}/conferences/{conferenceId}
Parameter | Description | Mandatory |
---|---|---|
state | Conference state. Possible state values are: completed to terminate the conference. |
No |
hold | If true , all member can’t hear or speak in the conference. If false , all members can hear and speak in the conference (unless set at the member level). |
No |
mute | If true , all member can’t speak in the conference. If false , all members can speak in the conference (unless set at the member level). |
No |
callbackUrl | The complete URL where the events related to the Conference will be sent to. | No |
callbackHttpMethod | Determine if the HTTP callback event should be sent via GET or POST . Default is POST . |
No |
callbackTimeout | Determine how long should the platform wait for callbackUrl’s response before timing out in milliseconds. Maximum Time: 10000 (10s) |
No |
fallbackUrl | The URL used to send the callback event if the request to callbackUrl fails. | No |
tag | A string that will be included in the callback events of the conference. | No |
{% common %}
{% sample lang="bash" %}
curl -v -X POST https://api.catapult.inetwork.com/v1/users/{userId}/conferences/{conferenceId} -u {token}:{secret} -H "Content-type: application/json" -d
'
{
"state": "completed"
}
'
{% sample lang="js" %}
// Promise
client.Conference.update("conferenceID", {state: "completed"}).then(function(){});
// Callback
client.Conference.update("conferenceID", {state: "completed"}, function(err){});
{% sample lang="csharp" %}
await client.Conference.TerminateAsync("{conferenceId1}");
{% sample lang="ruby" %}
conference.complete()
{% common %}
{% sample lang="bash" %}
curl -v -X POST https://api.catapult.inetwork.com/v1/users/{userId}/conferences/{conferenceId} -u {token}:{secret} -H "Content-type: application/json" -d
'
{
"mute": "true"
}
'
{% sample lang="js" %}
// Promise
client.Conference.update("conferenceID", {mute: "true"}).then(function(){});
// Callback
client.Conference.update("conferenceID", {mute: "true"}, function(err){});
{% sample lang="csharp" %}
await client.Conference.MuteAsync("{conferenceId1}", true);
{% sample lang="ruby" %}
conference.mute()
{% endmethod %}