Close data channel(s)

Close local or remote data channel(s)

put/apps/{appId}/sessions/{sessionId}/datachannels/close

Request

  • Base URL: https://rtc.live.cloudflare.com/v1
  • URL: https://rtc.live.cloudflare.com/v1/apps/{appId}/sessions/{sessionId}/datachannels/close
  • Auth: HTTP bearer

Path parameters

appIdstring required

WebRTC application ID

sessionIdstring required

Request body

Example request

{
  "dataChannels": [
    {
      "id": 2
    }
  ]
}

Response

OK

errorCodestring
errorDescriptionstring

Changes

No recorded changes to this operation across all 1 revision of this API.