Delete

View as Markdown

Use this endpoint for the Conference Participants method to delete a participant, removing them from the conference call. If the delete is successful, a 204 response, with no body, will be returned.

Path parameters

AccountSidstringRequiredformat: "uuid"
The unique identifier for the account that created this conference.
ConferenceSidstringRequiredformat: "uuid"
The unique identifier for the conference this participant is in.
CallSidstringRequiredformat: "uuid"
The unique identifier for the Participant call connected to this conference.

Request examples

1const { RestClient } = require('@signalwire/compatibility-api')
2const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
3
4client.conferences('ConferenceSid')
5 .participants('CallSid')
6 .remove()
7 .then(participant => console.log(participant.callSid))
8 .done();

Response

A successful request returns a 204 status code with no body.