Remove a participant from a session

This will automatically remove any subscriptions the participant has associated with this session

Request URL


Basic Authentication

Bandwidth WebRTC API leverages Basic Authentication with your Dashboard API Credentials. Read more about how Bandwidth secures endpoints in the Security & Credentials document.

Example: Remove a participant from a session

curl -X DELETE
  --url '{accountId}/sessions/{sessionId}/participants/{participantId}'
  -u '{username}:{password}'
  -H 'Content-type: application/json'


Potential Error Responses

HTTP/1.1 400 (Bad Request)
Content-Type: application/json
HTTP/1.1 401 (Unauthorized)
Content-Type: application/json
HTTP/1.1 403 (Access Denied)
Content-Type: application/json
HTTP/1.1 50x (Unexpected Error)
Content-Type: application/json

results matching ""

    No results matching ""